aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/rpc.h
diff options
context:
space:
mode:
authoranon <anon [at] nowhere>2021-03-18 20:50:21 +0000
committerselsta <selsta@sent.at>2021-10-06 01:58:50 +0200
commitfe6ab93fb029c94fc04d061885bead9e703837d2 (patch)
treea2c6ca9d98dce73a54a1374228a45cb56802b235 /src/daemon/rpc.h
parentbootstrap_daemon: proxy configuration support (diff)
downloadmonero-fe6ab93fb029c94fc04d061885bead9e703837d2.tar.xz
daemon: allow proxy configuration
Co-authored-by: selsta <selsta@sent.at> Co-authored-by: tobtoht <thotbot@protonmail.com>
Diffstat (limited to 'src/daemon/rpc.h')
-rw-r--r--src/daemon/rpc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/rpc.h b/src/daemon/rpc.h
index af48bcc45..bff7dc449 100644
--- a/src/daemon/rpc.h
+++ b/src/daemon/rpc.h
@@ -62,7 +62,7 @@ public:
{
MGINFO("Initializing " << m_description << " RPC server...");
- if (!m_server.init(vm, restricted, port, allow_rpc_payment))
+ if (!m_server.init(vm, restricted, port, allow_rpc_payment, command_line::get_arg(vm, daemon_args::arg_proxy)))
{
throw std::runtime_error("Failed to initialize " + m_description + " RPC server.");
}