mirror of
https://github.com/monero-project/monero.git
synced 2026-01-05 09:17:40 -08:00
Merge pull request #6211
5985c5af rpc: add bad-blocks to flush_cache RPC (moneromooo-monero)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user