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
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
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)
{