Stagenet
This commit is contained in:
+2
-2
@@ -54,7 +54,7 @@ public:
|
||||
, t_core & core
|
||||
, t_p2p & p2p
|
||||
, const bool restricted
|
||||
, const bool testnet
|
||||
, const cryptonote::network_type nettype
|
||||
, const std::string & port
|
||||
, const std::string & description
|
||||
)
|
||||
@@ -62,7 +62,7 @@ public:
|
||||
{
|
||||
MGINFO("Initializing " << m_description << " RPC server...");
|
||||
|
||||
if (!m_server.init(vm, restricted, testnet, port))
|
||||
if (!m_server.init(vm, restricted, nettype, port))
|
||||
{
|
||||
throw std::runtime_error("Failed to initialize " + m_description + " RPC server.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user