From 593247872decd6d483a76e96d79433247226ad14 Mon Sep 17 00:00:00 2001 From: John Newbery Date: Tue, 24 Aug 2021 11:31:01 +0100 Subject: [net] Remove CConnMan::SetAsmap() CAddrMan::m_asmap is now set directly in AppInitMain() so CConnMan::SetAsmap() is no longer required. --- src/net.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/net.h') diff --git a/src/net.h b/src/net.h index 28cd635976..316425e677 100644 --- a/src/net.h +++ b/src/net.h @@ -949,8 +949,6 @@ public: */ std::chrono::microseconds PoissonNextSendInbound(std::chrono::microseconds now, std::chrono::seconds average_interval); - void SetAsmap(std::vector asmap) { addrman.m_asmap = std::move(asmap); } - /** Return true if we should disconnect the peer for failing an inactivity check. */ bool ShouldRunInactivityChecks(const CNode& node, std::optional now=std::nullopt) const; -- cgit v1.2.3