Skip to content

Commit

Permalink
missed one
Browse files Browse the repository at this point in the history
  • Loading branch information
wjblanke committed Feb 18, 2025
1 parent 642fd8f commit 3a15181
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion chia/full_node/full_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,11 @@ async def _sync(self) -> None:
)
)
for i, target_peak_response in enumerate(await asyncio.gather(*coroutines)):
if target_peak_response is not None and isinstance(target_peak_response, RespondBlock):
if (
target_peak_response is not None
and isinstance(target_peak_response, RespondBlock)
and target_peak_response.block.header_hash == target_peak.header_hash
):
self.sync_store.peer_has_block(
target_peak.header_hash, peers[i].peer_node_id, target_peak.weight, target_peak.height, False
)
Expand Down

0 comments on commit 3a15181

Please sign in to comment.