mirror of
https://github.com/monero-project/monero.git
synced 2026-01-05 09:17:40 -08:00
Separate rpc port for testnet
This commit is contained in:
committed by
Riccardo Spagni
parent
98ed9a41f7
commit
658b6690a3
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user