Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
almogdepaz committed Jan 20, 2025
1 parent 5cf019f commit 4215992
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chia/_tests/util/full_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ async def run_sync_test(
peer_info,
ForkInfo(fork_height, fork_height, header_hash),
ValidationState(ssi, diff, None),
blockchain
blockchain,
)
end_height = block_batch[-1].height
full_node.blockchain.clean_block_record(end_height - full_node.constants.BLOCKS_CACHE_SIZE)
Expand Down
4 changes: 2 additions & 2 deletions tools/test_full_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ async def run_sync_checkpoint(
peer_info,
ForkInfo(fork_height, fork_height, header_hash),
ValidationState(ssi, diff, None),
blockchain
blockchain,
)
end_height = block_batch[-1].height
full_node.blockchain.clean_block_record(end_height - full_node.constants.BLOCKS_CACHE_SIZE)
Expand All @@ -195,7 +195,7 @@ async def run_sync_checkpoint(
peer_info,
ForkInfo(fork_height, fork_height, fork_header_hash),
ValidationState(ssi, diff, None),
blockchain
blockchain,
)
if not success:
raise RuntimeError("failed to ingest block batch")
Expand Down

0 comments on commit 4215992

Please sign in to comment.