Skip to content

Commit

Permalink
net_peerlist: fix grayt/white naming mismatch
Browse files Browse the repository at this point in the history
Looking at how these are called confirms this must have been a mistake
  • Loading branch information
moneromooo-monero committed May 28, 2015
1 parent 8069b3b commit 39a9508
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/p2p/net_peerlist.h
Expand Up @@ -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)
{
Expand All @@ -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)
{
Expand Down

0 comments on commit 39a9508

Please sign in to comment.