Skip to content
Permalink
Browse files

Bootstrap daemon

  • Loading branch information...
stoffu committed Jan 20, 2018
1 parent 5f09d6c commit 0007a4c81b0d76b7d86f8b3e7c2394427608f74c
Showing with 253 additions and 6 deletions.
  1. +2 −2 src/daemon/rpc_command_executor.cpp
  2. +234 −2 src/rpc/core_rpc_server.cpp
  3. +17 −2 src/rpc/core_rpc_server.h
@@ -392,7 +392,7 @@ bool t_rpc_command_executor::show_status() {
}
else
{
if (!m_rpc_server->on_get_info(ireq, ires) || ires.status != CORE_RPC_STATUS_OK)
if (!m_rpc_server->on_get_info(ireq, ires, true) || ires.status != CORE_RPC_STATUS_OK)
{
tools::fail_msg_writer() << make_error(fail_message, ires.status);
return true;
@@ -1820,7 +1820,7 @@ bool t_rpc_command_executor::sync_info()
}
else
{
if (!m_rpc_server->on_sync_info(req, res, error_resp) || res.status != CORE_RPC_STATUS_OK)
if (!m_rpc_server->on_sync_info(req, res, error_resp, true) || res.status != CORE_RPC_STATUS_OK)
{
tools::fail_msg_writer() << make_error(fail_message, res.status);
return true;

0 comments on commit 0007a4c

Please sign in to comment.
You can’t perform that action at this time.