mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 14:53:27 +01:00
Merge pull request #1624
a39cd745
rpc: fix bc_dyn_stats not setting grace blocks (moneromooo-monero)
This commit is contained in:
commit
cc03036e3e
@ -1451,6 +1451,7 @@ bool t_rpc_command_executor::print_blockchain_dynamic_stats(uint64_t nblocks)
|
|||||||
|
|
||||||
std::string fail_message = "Problem fetching info";
|
std::string fail_message = "Problem fetching info";
|
||||||
|
|
||||||
|
fereq.grace_blocks = 0;
|
||||||
if (m_is_rpc)
|
if (m_is_rpc)
|
||||||
{
|
{
|
||||||
if (!m_rpc_client->rpc_request(ireq, ires, "/getinfo", fail_message.c_str()))
|
if (!m_rpc_client->rpc_request(ireq, ires, "/getinfo", fail_message.c_str()))
|
||||||
|
Loading…
Reference in New Issue
Block a user