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:53 +01:00
4 changed files with 6 additions and 6 deletions

View File

@@ -61,10 +61,10 @@ namespace cryptonote
//-----------------------------------------------------------------------------------------------------------------------
template<class t_core>
t_cryptonote_protocol_handler<t_core>::t_cryptonote_protocol_handler(t_core& rcore, nodetool::i_p2p_endpoint<connection_context>* p_net_layout):m_core(rcore),
t_cryptonote_protocol_handler<t_core>::t_cryptonote_protocol_handler(t_core& rcore, nodetool::i_p2p_endpoint<connection_context>* p_net_layout, bool offline):m_core(rcore),
m_p2p(p_net_layout),
m_syncronized_connections_count(0),
m_synchronized(false),
m_synchronized(offline),
m_stopping(false)
{