diff options
Diffstat (limited to 'src/addrman.cpp')
-rw-r--r-- | src/addrman.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/addrman.cpp b/src/addrman.cpp index 986a1a5d4b..fd0d3dc6fa 100644 --- a/src/addrman.cpp +++ b/src/addrman.cpp @@ -9,6 +9,7 @@ #include <logging.h> #include <netaddress.h> #include <serialize.h> +#include <util/asmap.h> #include <cmath> #include <optional> @@ -1028,7 +1029,7 @@ std::vector<bool> CAddrMan::DecodeAsmap(fs::path path) bits.push_back((cur_byte >> bit) & 1); } } - if (!SanityCheckASMap(bits)) { + if (!SanityCheckASMap(bits, 128)) { LogPrintf("Sanity check of asmap file %s failed\n", path); return {}; } |