mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-08-24 10:05:29 -05:00
[CHIA-4002] Fix off by one in cleanup (Thanks roopd3v) (#20993)
* fix off by one in cleanup * ruff
This commit is contained in:
@@ -1373,7 +1373,7 @@ class WalletNode:
|
||||
await self.add_states_from_peer(list(race_cache), peer)
|
||||
|
||||
# Clear old entries that are no longer relevant
|
||||
cache.cleanup_race_cache(min_height=backtrack_fork_height)
|
||||
cache.cleanup_race_cache(min_height=backtrack_fork_height + 1)
|
||||
|
||||
self.wallet_state_manager.state_changed("new_block")
|
||||
self.log.info(f"Finished processing new peak of {new_peak_hb.height}")
|
||||
|
||||
Reference in New Issue
Block a user