diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-05-28 14:06:19 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-05-28 14:10:26 +0100 |
commit | 39a9508a20445ed59da3066bac395aa4262b18d1 (patch) | |
tree | be4605bcaa902394b1909059ccbe8e3a6c458364 /src/p2p/net_peerlist.h | |
parent | blockchain_db: add a few const (diff) | |
download | monero-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/net_peerlist.h')
-rw-r--r-- | src/p2p/net_peerlist.h | 4 |
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) { |