diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-01-25 13:35:17 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-01-25 13:35:58 +0000 |
commit | e3f0980a1dc2608beee73086d2581d51f367b8b8 (patch) | |
tree | 32eed0caa010dcd16186757e8e311a4e06ce855c /src/cryptonote_protocol/cryptonote_protocol_handler.inl | |
parent | Merge pull request #3115 (diff) | |
download | monero-e3f0980a1dc2608beee73086d2581d51f367b8b8.tar.xz |
daemon: don't drop RPC with busy error when running offline
Diffstat (limited to '')
-rw-r--r-- | src/cryptonote_protocol/cryptonote_protocol_handler.inl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler.inl b/src/cryptonote_protocol/cryptonote_protocol_handler.inl index 5d25d1058..cc1590bb1 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler.inl +++ b/src/cryptonote_protocol/cryptonote_protocol_handler.inl @@ -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) { |