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
+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))