mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 16:27:39 +00: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
1 changed files with 2 additions and 2 deletions
|
@ -204,7 +204,7 @@ namespace nodetool
|
||||||
return true;
|
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)
|
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)
|
while(m_peers_white.size() > P2P_LOCAL_WHITE_PEERLIST_LIMIT)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue