aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-03-17 04:37:43 +0100
committerpracticalswift <practicalswift@users.noreply.github.com>2017-03-17 04:37:43 +0100
commit8dc957ae06366d023e0d23c92279c5fb04b515d0 (patch)
tree88f5add0685b47069022cf6fa64223a1750ade90 /src/net.cpp
parent8040ae6fc576e9504186f2ae3ff2c8125de1095c (diff)
Remove unused code
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 4434793c4c..e0163e6b17 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -2406,11 +2406,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);