mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #3788
f24c970f
blockchain: invalidate misc caches when popping blocks (moneromooo-monero)
This commit is contained in:
commit
80b673dcad
1 changed files with 6 additions and 0 deletions
|
@ -584,6 +584,12 @@ block Blockchain::pop_block_from_blockchain()
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
m_blocks_longhash_table.clear();
|
||||
m_scan_table.clear();
|
||||
m_blocks_txs_check.clear();
|
||||
m_check_txin_table.clear();
|
||||
|
||||
update_next_cumulative_size_limit();
|
||||
m_tx_pool.on_blockchain_dec(m_db->height()-1, get_tail_id());
|
||||
|
||||
|
|
Loading…
Reference in a new issue