From c34bd8bbe6bd180422171d9bf2eabf21d298a606 Mon Sep 17 00:00:00 2001 From: Russel Waters Date: Mon, 23 Nov 2020 09:37:52 -0800 Subject: [PATCH] Fix copy pasta error with test network variables (#3056) --- nano/lib/config.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nano/lib/config.cpp b/nano/lib/config.cpp index 618d7a18..37db63d3 100644 --- a/nano/lib/config.cpp +++ b/nano/lib/config.cpp @@ -88,17 +88,17 @@ uint16_t test_node_port () } uint16_t test_rpc_port () { - auto test_env = nano::get_env_or_default ("NANO_TEST_NODE_PORT", "17075"); + auto test_env = nano::get_env_or_default ("NANO_TEST_RPC_PORT", "17076"); return boost::lexical_cast (test_env); } uint16_t test_ipc_port () { - auto test_env = nano::get_env_or_default ("NANO_TEST_NODE_PORT", "17075"); + auto test_env = nano::get_env_or_default ("NANO_TEST_IPC_PORT", "17077"); return boost::lexical_cast (test_env); } uint16_t test_websocket_port () { - auto test_env = nano::get_env_or_default ("NANO_TEST_NODE_PORT", "17075"); + auto test_env = nano::get_env_or_default ("NANO_TEST_WEBSOCKET_PORT", "17078"); return boost::lexical_cast (test_env); }