mirror of
https://github.com/wownero/wownero.git
synced 2026-11-14 04:13:54 +01:00
Blockchain: option for fast manual block popping
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2014-2024, The Monero Project
|
||||
// Copyright (c) 2014-2026, The Monero Project
|
||||
//
|
||||
// All rights reserved.
|
||||
//
|
||||
@@ -3174,7 +3174,7 @@ namespace cryptonote
|
||||
{
|
||||
RPC_TRACKER(pop_blocks);
|
||||
|
||||
m_core.get_blockchain_storage().pop_blocks(req.nblocks);
|
||||
m_core.get_blockchain_storage().pop_blocks(req.nblocks, req.keep_txs);
|
||||
|
||||
res.height = m_core.get_current_blockchain_height();
|
||||
res.status = CORE_RPC_STATUS_OK;
|
||||
|
||||
Reference in New Issue
Block a user