aboutsummaryrefslogtreecommitdiff
path: root/src/daemon
diff options
context:
space:
mode:
authorZachary Michaels <mikezackles@gmail.com>2014-09-08 13:07:15 -0400
committerRiccardo Spagni <ric@spagni.net>2014-09-15 15:53:46 +0200
commit658b6690a36f6f0b3b06dca5b85021b2b344c059 (patch)
tree97c9b51aeb1dbfa759f1c6458c2e8dc57e0a55d8 /src/daemon
parentSeparate p2p port for testnet (diff)
downloadmonero-658b6690a36f6f0b3b06dca5b85021b2b344c059.tar.xz
Separate rpc port for testnet
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/daemon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/daemon.cpp b/src/daemon/daemon.cpp
index 1041aa439..04f6db4fa 100644
--- a/src/daemon/daemon.cpp
+++ b/src/daemon/daemon.cpp
@@ -220,7 +220,7 @@ int main(int argc, char* argv[])
LOG_PRINT_L0("Protocol initialized OK");
LOG_PRINT_L0("Initializing core RPC server...");
- res = rpc_server.init(vm);
+ res = rpc_server.init(vm, testnet_mode);
CHECK_AND_ASSERT_MES(res, 1, "Failed to initialize core RPC server.");
LOG_PRINT_GREEN("Core RPC server initialized OK on port: " << rpc_server.get_binded_port(), LOG_LEVEL_0);