mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 16:27:39 +00:00
core_rpc_server: fix gray/white peer list mixup
This commit is contained in:
parent
a834105bed
commit
22d8344cb5
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue