From 39a9508a20445ed59da3066bac395aa4262b18d1 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Thu, 28 May 2015 14:06:19 +0100 Subject: net_peerlist: fix grayt/white naming mismatch Looking at how these are called confirms this must have been a mistake --- src/p2p/net_peerlist.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/p2p') diff --git a/src/p2p/net_peerlist.h b/src/p2p/net_peerlist.h index 9407e7bce..f738c68f6 100644 --- a/src/p2p/net_peerlist.h +++ b/src/p2p/net_peerlist.h @@ -204,7 +204,7 @@ namespace nodetool return true; } //-------------------------------------------------------------------------------------------------- - inline void peerlist_manager::trim_white_peerlist() + inline void peerlist_manager::trim_gray_peerlist() { while(m_peers_gray.size() > P2P_LOCAL_GRAY_PEERLIST_LIMIT) { @@ -213,7 +213,7 @@ namespace nodetool } } //-------------------------------------------------------------------------------------------------- - inline void peerlist_manager::trim_gray_peerlist() + inline void peerlist_manager::trim_white_peerlist() { while(m_peers_white.size() > P2P_LOCAL_WHITE_PEERLIST_LIMIT) { -- cgit v1.2.3