Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
blxdyx committed Nov 22, 2024
1 parent 1f5527b commit 5d1cc08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/stagedsync/exec3.go
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ func flushAndCheckCommitmentV3(ctx context.Context, header *types.Header, applyT
return false, errors.New("header is nil")
}

if dbg.DiscardCommitment() {
if dbg.DiscardCommitment() && header.Number.Uint64() != 0 {
return true, nil
}
if doms.BlockNum() != header.Number.Uint64() {
Expand Down

0 comments on commit 5d1cc08

Please sign in to comment.