diff options
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/protocol.h | 1 | ||||
-rw-r--r-- | src/daemon/rpc_command_executor.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon/protocol.h b/src/daemon/protocol.h index bc2333659..5bcb83dcf 100644 --- a/src/daemon/protocol.h +++ b/src/daemon/protocol.h @@ -77,6 +77,7 @@ public: m_protocol.deinit(); m_protocol.set_p2p_endpoint(nullptr); MGINFO("Cryptonote protocol stopped successfully"); + tools::success_msg_writer() << "Daemon stopped successfully"; } catch (...) { LOG_ERROR("Failed to stop cryptonote protocol!"); } diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp index 82951dc89..2bcfd7a95 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -1453,6 +1453,7 @@ bool t_rpc_command_executor::print_blockchain_dynamic_stats(uint64_t nblocks) std::string fail_message = "Problem fetching info"; + fereq.grace_blocks = 0; if (m_is_rpc) { if (!m_rpc_client->rpc_request(ireq, ires, "/getinfo", fail_message.c_str())) |