diff options
author | John Newbery <john@johnnewbery.com> | 2021-09-07 13:31:10 +0100 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2021-09-07 13:31:10 +0100 |
commit | bfdf4ef334a16ef6108a658bf4f8514754128c18 (patch) | |
tree | d26a8ee394821720ca9b5e67180dc0352c69ff30 /src/netaddress.cpp | |
parent | 07a9eccb60485e71494664cc2b1964ae06a3dcf0 (diff) |
[asmap] Remove SanityCheckASMap() from netaddress
SanityCheckASMap(asmap, bits) simply calls through to SanityCheckASMap(asmap)
in util/asmap. Update all callers to simply call that function.
Diffstat (limited to 'src/netaddress.cpp')
-rw-r--r-- | src/netaddress.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/netaddress.cpp b/src/netaddress.cpp index e7b3377475..b2f4945e3b 100644 --- a/src/netaddress.cpp +++ b/src/netaddress.cpp @@ -1242,8 +1242,3 @@ bool operator<(const CSubNet& a, const CSubNet& b) { return (a.network < b.network || (a.network == b.network && memcmp(a.netmask, b.netmask, 16) < 0)); } - -bool SanityCheckASMap(const std::vector<bool>& asmap) -{ - return SanityCheckASMap(asmap, 128); // For IP address lookups, the input is 128 bits -} |