From 5985c5afe8051ef9933212e62293ece3634a5024 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Mon, 2 Dec 2019 18:51:28 +0000 Subject: rpc: add bad-blocks to flush_cache RPC Flushes m_invalid_blocks in Blockchain. --- src/daemon/rpc_command_executor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/daemon/rpc_command_executor.h') diff --git a/src/daemon/rpc_command_executor.h b/src/daemon/rpc_command_executor.h index e8b12cb9b..6276d124d 100644 --- a/src/daemon/rpc_command_executor.h +++ b/src/daemon/rpc_command_executor.h @@ -170,7 +170,7 @@ public: bool rpc_payments(); - bool flush_cache(bool bad_txs); + bool flush_cache(bool bad_txs, bool invalid_blocks); }; } // namespace daemonize -- cgit v1.2.3