aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/rpc.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-11-29 20:05:26 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-11-29 20:07:01 +0000
commit5f2a32c15ab0eef7bf0e0a0f9cd1362a1c456a22 (patch)
treecec0e5fbf57e2a8d6283757ef977d691101dea25 /src/daemon/rpc.h
parentMerge pull request #6174 (diff)
downloadmonero-5f2a32c15ab0eef7bf0e0a0f9cd1362a1c456a22.tar.xz
daemon: run with -rpc-payment-address and --rpc-restricted-bind-port
Diffstat (limited to 'src/daemon/rpc.h')
-rw-r--r--src/daemon/rpc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/daemon/rpc.h b/src/daemon/rpc.h
index 213593aa7..6f545a3b7 100644
--- a/src/daemon/rpc.h
+++ b/src/daemon/rpc.h
@@ -56,12 +56,13 @@ public:
, const bool restricted
, const std::string & port
, const std::string & description
+ , bool allow_rpc_payment
)
: m_server{core.get(), p2p.get()}, m_description{description}
{
MGINFO("Initializing " << m_description << " RPC server...");
- if (!m_server.init(vm, restricted, port))
+ if (!m_server.init(vm, restricted, port, allow_rpc_payment))
{
throw std::runtime_error("Failed to initialize " + m_description + " RPC server.");
}