mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
core_rpc_server: fix gray/white peer list mixup
This commit is contained in:
parent
a834105bed
commit
22d8344cb5
@ -525,7 +525,7 @@ namespace cryptonote
|
|||||||
{
|
{
|
||||||
std::list<nodetool::peerlist_entry> white_list;
|
std::list<nodetool::peerlist_entry> white_list;
|
||||||
std::list<nodetool::peerlist_entry> gray_list;
|
std::list<nodetool::peerlist_entry> gray_list;
|
||||||
m_p2p.get_peerlist_manager().get_peerlist_full(white_list, gray_list);
|
m_p2p.get_peerlist_manager().get_peerlist_full(gray_list, white_list);
|
||||||
|
|
||||||
|
|
||||||
for (auto & entry : white_list)
|
for (auto & entry : white_list)
|
||||||
|
Loading…
Reference in New Issue
Block a user