Skip to content

Commit

Permalink
fix typo introduced in the deep-reorg performance fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Nov 28, 2023
1 parent c7bb694 commit f738714
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chia/full_node/full_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -1268,8 +1268,8 @@ async def add_block_batch(
fork_info.fork_height = block.height
fork_info.peak_height = block.height
fork_info.peak_hash = header_hash
fork_info.additions_since_fork == {}
fork_info.removals_since_fork == set()
fork_info.additions_since_fork = {}
fork_info.removals_since_fork = set()
else:
# We have already validated the block, but if it's not part of the
# main chain, we still need to re-run it to update the additions and
Expand Down

0 comments on commit f738714

Please sign in to comment.