aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-07-26 20:02:43 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-07-26 20:02:43 +0100
commit22d8344cb5f3338a87230e1832301417cbabdeaf (patch)
treed0e4d3bc333ae6c863b6f53b5ce5f67fea4d4190 /src/rpc
parentMerge pull request #927 (diff)
downloadmonero-22d8344cb5f3338a87230e1832301417cbabdeaf.tar.xz
core_rpc_server: fix gray/white peer list mixup
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/core_rpc_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index 35200c5f9..166d1ba94 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -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)