This commit is contained in:
stoffu
2018-02-16 20:04:04 +09:00
parent cc9a0bee04
commit af773211cb
58 changed files with 566 additions and 357 deletions
+2 -2
View File
@@ -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.");
}