aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-03-18 10:10:00 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2017-03-18 10:10:33 +0100
commitaab1e55860dea1e40fc02bc0e535c1d1474a5ae3 (patch)
tree205981723993692548054a044c47ae43b9daefa3 /src/net.cpp
parent3d857f307be8712b9b251e770d8425717409654b (diff)
parent8dc957ae06366d023e0d23c92279c5fb04b515d0 (diff)
Merge #9987: Remove unused code
8dc957a Remove unused code (practicalswift) Tree-SHA512: c7bb286e3b92e42fec8aa1ac2491fd38be36602efca16b4bdc4e9d5ada75c11d99e7713092ec13794abd69d5ef2c732b86209a6d01710e5ebf6fc51b8a65c92a
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 113823f0b4..4c5b04b785 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -2411,11 +2411,6 @@ void CConnman::MarkAddressGood(const CAddress& addr)
addrman.Good(addr);
}
-void CConnman::AddNewAddress(const CAddress& addr, const CAddress& addrFrom, int64_t nTimePenalty)
-{
- addrman.Add(addr, addrFrom, nTimePenalty);
-}
-
void CConnman::AddNewAddresses(const std::vector<CAddress>& vAddr, const CAddress& addrFrom, int64_t nTimePenalty)
{
addrman.Add(vAddr, addrFrom, nTimePenalty);