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

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)