aboutsummaryrefslogtreecommitdiff
path: root/src/p2p
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-05-28 14:06:19 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-05-28 14:10:26 +0100
commit39a9508a20445ed59da3066bac395aa4262b18d1 (patch)
treebe4605bcaa902394b1909059ccbe8e3a6c458364 /src/p2p
parentblockchain_db: add a few const (diff)
downloadmonero-39a9508a20445ed59da3066bac395aa4262b18d1.tar.xz
net_peerlist: fix grayt/white naming mismatch
Looking at how these are called confirms this must have been a mistake
Diffstat (limited to 'src/p2p')
-rw-r--r--src/p2p/net_peerlist.h4
1 files changed, 2 insertions, 2 deletions
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)
{