diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-02-28 19:36:16 -0800 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-02-28 19:36:16 -0800 |
commit | 4da37daf67976e48d6fc75f2a5a6f5858d227815 (patch) | |
tree | ef7cf33b245ddf3e9325639a2dfb49baf6a5d82c /src/rpc/core_rpc_server.cpp | |
parent | Merge pull request #6205 (diff) | |
parent | rpc: add bad-blocks to flush_cache RPC (diff) | |
download | monero-4da37daf67976e48d6fc75f2a5a6f5858d227815.tar.xz |
Merge pull request #6211
5985c5af rpc: add bad-blocks to flush_cache RPC (moneromooo-monero)
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index 409c8a01c..386ef66dc 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -3014,6 +3014,8 @@ namespace cryptonote RPC_TRACKER(flush_cache); if (req.bad_txs) m_core.flush_bad_txs_cache(); + if (req.bad_blocks) + m_core.flush_invalid_blocks(); res.status = CORE_RPC_STATUS_OK; return true; } |