From bfdf4ef334a16ef6108a658bf4f8514754128c18 Mon Sep 17 00:00:00 2001 From: John Newbery Date: Tue, 7 Sep 2021 13:31:10 +0100 Subject: [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. --- src/netaddress.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/netaddress.cpp') 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& asmap) -{ - return SanityCheckASMap(asmap, 128); // For IP address lookups, the input is 128 bits -} -- cgit v1.2.3