diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-01-23 19:28:00 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-01-23 19:28:00 +0000 |
commit | a39cd745c9c373ade9d7eddabd034aa77aeb38a2 (patch) | |
tree | c901c57b8078b139cdbb6c633fe18e477457f615 /src | |
parent | Merge pull request #1608 (diff) | |
download | monero-a39cd745c9c373ade9d7eddabd034aa77aeb38a2.tar.xz |
rpc: fix bc_dyn_stats not setting grace blocks
This caused a random value to be used, and the resulting
incorrect fee when it wasn't 0.
Diffstat (limited to 'src')
-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())) |