mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-10 21:23:27 +01: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:
parent
8069b3ba7f
commit
39a9508a20
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user