mirror of
https://github.com/wownero/wownero.git
synced 2026-10-17 07:31:35 +02:00
rpc: restrict get_public_nodes to public zone peers
(cherry picked from commit 6c5a4c18e3e8cbe088ccaccb0104daf8e4f9afbf)
This commit is contained in:
@@ -1574,6 +1574,7 @@ namespace cryptonote
|
||||
|
||||
COMMAND_RPC_GET_PEER_LIST::request peer_list_req;
|
||||
COMMAND_RPC_GET_PEER_LIST::response peer_list_res;
|
||||
peer_list_req.public_only = true;
|
||||
peer_list_req.include_blocked = req.include_blocked;
|
||||
const bool success = on_get_peer_list(peer_list_req, peer_list_res, ctx);
|
||||
res.status = peer_list_res.status;
|
||||
|
||||
Reference in New Issue
Block a user