Skip to content

Commit

Permalink
fix #10445 (#10446)
Browse files Browse the repository at this point in the history
closes #10445
  • Loading branch information
awskii authored May 22, 2024
1 parent c9ffb7a commit ab6c613
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions turbo/execution/eth1/forkchoice.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,9 @@ func (e *EthereumExecutionModule) updateForkChoice(ctx context.Context, original
return
}
}

unwindToGenesis = e.executionPipeline.UnwindPoint() == 0
if e.executionPipeline.HasUnwindPoint() {
unwindToGenesis = e.executionPipeline.UnwindPoint() == 0
}

// Run the unwind
if err := e.executionPipeline.RunUnwind(e.db, wrap.TxContainer{Tx: tx}); err != nil {
Expand Down

0 comments on commit ab6c613

Please sign in to comment.