core_rpc_server: fix gray/white peer list mixup

This commit is contained in:
moneromooo-monero 2016-07-26 20:02:43 +01:00
parent a834105bed
commit 22d8344cb5
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 1 deletions

View File

@ -525,7 +525,7 @@ namespace cryptonote
{
std::list<nodetool::peerlist_entry> white_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)