Skip to content

Commit

Permalink
Update eth/catalyst/api.go
Browse files Browse the repository at this point in the history
Co-authored-by: maskpp <[email protected]>
  • Loading branch information
davidtaikocha and mask-pp authored Nov 6, 2024
1 parent e692d34 commit 11e6061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/catalyst/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ func (api *ConsensusAPI) forkchoiceUpdated(update engine.ForkchoiceStateV1, payl

// Write L1Origin.
rawdb.WriteL1Origin(api.eth.ChainDb(), l1Origin.BlockID, l1Origin)
// Write the head L1Origin, only when its not a soft block.
// Write the head L1Origin, only when it's not a soft block.
if l1Origin.BatchID == nil {
rawdb.WriteHeadL1Origin(api.eth.ChainDb(), l1Origin.BlockID)
}
Expand Down

0 comments on commit 11e6061

Please sign in to comment.