aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-02-02 18:20:07 +0200
committerRiccardo Spagni <ric@spagni.net>2017-02-02 18:20:07 +0200
commitcc03036e3eb614a64fe8b88ba15a36fd607c9ac4 (patch)
tree482f6791d6d02552d0d49452392047c705a3c30b
parentMerge pull request #1617 (diff)
parentrpc: fix bc_dyn_stats not setting grace blocks (diff)
downloadmonero-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.cpp1
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()))