mirror of
https://github.com/monero-project/monero.git
synced 2025-08-02 10:46:09 -04:00
Separate rpc port for testnet
This commit is contained in:
parent
98ed9a41f7
commit
658b6690a3
5 changed files with 44 additions and 12 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue