Skip to content

Commit

Permalink
logs
Browse files Browse the repository at this point in the history
  • Loading branch information
wjblanke committed Nov 12, 2024
1 parent eedc429 commit cc58b72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chia/consensus/blockchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ async def _reconsider_peak(
rolled_back_state: Dict[bytes32, CoinRecord] = {}

if genesis and peak is not None:
log.error(f"WJB genesis and peak is not None")
return [], None

if peak is not None:
Expand Down Expand Up @@ -586,6 +587,7 @@ async def _reconsider_peak(
coin_id for coin_id, fork_rem in fork_info.removals_since_fork.items() if fork_rem.height == height
]
assert fetched_block_record.timestamp is not None
log.error(f"WJB tx_additions {tx_additions} {tx_removals}")
await self.coin_store.new_block(
height,
fetched_block_record.timestamp,
Expand Down

0 comments on commit cc58b72

Please sign in to comment.