daemon: don't drop RPC with busy error when running offline

This commit is contained in:
moneromooo-monero
2018-01-25 13:35:17 +00:00
parent 5f09d6c833
commit e3f0980a1d
4 changed files with 6 additions and 6 deletions

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