mirror of
https://github.com/monero-project/monero.git
synced 2025-12-23 07:29:11 -08:00
net_peerlist: fix grayt/white naming mismatch
Looking at how these are called confirms this must have been a mistake
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user