diff options
author | Thomas Winget <tewinget@gmail.com> | 2015-03-01 02:35:33 -0500 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2015-03-01 02:35:33 -0500 |
commit | 52f9629bd71af28d6a313747944c26e5b9bf14a1 (patch) | |
tree | 5abbfdcfc3e9878df6789670439defd5aea38c2e | |
parent | Fix tests building -- function signatures changed (diff) | |
download | monero-52f9629bd71af28d6a313747944c26e5b9bf14a1.tar.xz |
sending commands to forked daemon works on testnet now
Diffstat (limited to '')
-rw-r--r-- | src/daemon/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/daemon/main.cpp b/src/daemon/main.cpp index dd576a680..5d8baf497 100644 --- a/src/daemon/main.cpp +++ b/src/daemon/main.cpp @@ -165,6 +165,10 @@ int main(int argc, char const * argv[]) { auto rpc_ip_str = command_line::get_arg(vm, cryptonote::core_rpc_server::arg_rpc_bind_ip); auto rpc_port_str = command_line::get_arg(vm, cryptonote::core_rpc_server::arg_rpc_bind_port); + if (testnet_mode) + { + rpc_port_str = command_line::get_arg(vm, cryptonote::core_rpc_server::arg_testnet_rpc_bind_port); + } uint32_t rpc_ip; uint16_t rpc_port; |