diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-02-02 18:20:07 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-02-02 18:20:07 +0200 |
commit | cc03036e3eb614a64fe8b88ba15a36fd607c9ac4 (patch) | |
tree | 482f6791d6d02552d0d49452392047c705a3c30b | |
parent | Merge pull request #1617 (diff) | |
parent | rpc: fix bc_dyn_stats not setting grace blocks (diff) | |
download | monero-cc03036e3eb614a64fe8b88ba15a36fd607c9ac4.tar.xz |
Merge pull request #1624
a39cd745 rpc: fix bc_dyn_stats not setting grace blocks (moneromooo-monero)
-rw-r--r-- | src/daemon/rpc_command_executor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp index 8558ebc17..7bc9afbb9 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -1451,6 +1451,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())) |