Merge pull request #3181

e3f0980a daemon: don't drop RPC with busy error when running offline (moneromooo-monero)
This commit is contained in:
Riccardo Spagni
2018-02-16 14:19:54 +01:00
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ public:
boost::program_options::variables_map const & vm
)
: core{vm}
, protocol{vm, core}
, protocol{vm, core, command_line::get_arg(vm, cryptonote::arg_offline)}
, p2p{vm, protocol}
{
// Handle circular dependencies
+2 -2
View File
@@ -46,9 +46,9 @@ private:
public:
t_protocol(
boost::program_options::variables_map const & vm
, t_core & core
, t_core & core, bool offline = false
)
: m_protocol{core.get(), nullptr}
: m_protocol{core.get(), nullptr, offline}
{
MGINFO("Initializing cryptonote protocol...");
if (!m_protocol.init(vm))