rpc: hide ZMQ request contents in restricted mode

This commit is contained in:
selsta
2026-07-25 14:16:12 +02:00
parent 8472d8c503
commit 4ee81cfb73
5 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ struct zmq_internals
{
explicit zmq_internals(t_core& core, t_p2p& p2p, const bool restricted)
: rpc_handler{core.get(), p2p.get(), restricted}
, server{rpc_handler}
, server{rpc_handler, restricted}
{}
cryptonote::rpc::DaemonHandler rpc_handler;