mirror of
https://github.com/jwinterm/wownero.git
synced 2026-11-17 09:34:07 +01:00
Merge pull request #3181
e3f0980a daemon: don't drop RPC with busy error when running offline (moneromooo-monero)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user