File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -389,8 +389,8 @@ async def add_block(
389
389
fork_info .fork_height = block .height - 1
390
390
fork_info .peak_height = block .height - 1
391
391
fork_info .peak_hash = block .prev_header_hash
392
- fork_info .additions_since_fork == {}
393
- fork_info .removals_since_fork == set ()
392
+ fork_info .additions_since_fork = {}
393
+ fork_info .removals_since_fork = set ()
394
394
395
395
if await self .contains_block_from_db (header_hash ):
396
396
# We have already validated the block, but if it's not part of the
Original file line number Diff line number Diff line change @@ -1268,8 +1268,8 @@ async def add_block_batch(
1268
1268
fork_info .fork_height = block .height
1269
1269
fork_info .peak_height = block .height
1270
1270
fork_info .peak_hash = header_hash
1271
- fork_info .additions_since_fork == {}
1272
- fork_info .removals_since_fork == set ()
1271
+ fork_info .additions_since_fork = {}
1272
+ fork_info .removals_since_fork = set ()
1273
1273
else :
1274
1274
# We have already validated the block, but if it's not part of the
1275
1275
# main chain, we still need to re-run it to update the additions and
You can’t perform that action at this time.
0 commit comments