sending commands to forked daemon works on testnet now

This commit is contained in:
Thomas Winget 2015-03-01 02:35:33 -05:00
parent 76289d0e3b
commit 52f9629bd7
No known key found for this signature in database
GPG Key ID: 58131A160789E630
1 changed files with 4 additions and 0 deletions

View File

@ -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;