aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.cpp
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2020-10-23 10:20:48 +0100
committerJohn Newbery <john@johnnewbery.com>2021-03-20 10:24:40 +0000
commitbcd7f30b7944892db7ae37069175804567bb0cdf (patch)
tree78d3a15c0ebd5523701ab2edd4022217f41df6fb /src/net_processing.cpp
parent8073673dbcb2744fcc9c011edf2d61388ca929cd (diff)
downloadbitcoin-bcd7f30b7944892db7ae37069175804567bb0cdf.tar.xz
[net] remove CConnman::MarkAddressGood
It just forwards calls to CAddrMan::Good.
Diffstat (limited to 'src/net_processing.cpp')
-rw-r--r--src/net_processing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp
index 6942f02a18..ff1e46eb67 100644
--- a/src/net_processing.cpp
+++ b/src/net_processing.cpp
@@ -2476,7 +2476,7 @@ void PeerManagerImpl::ProcessMessage(CNode& pfrom, const std::string& msg_type,
//
// This moves an address from New to Tried table in Addrman,
// resolves tried-table collisions, etc.
- m_connman.MarkAddressGood(pfrom.addr);
+ m_addrman.Good(pfrom.addr);
}
std::string remoteAddr;