Skip to content

Commit

Permalink
Fix reversed boolean condition
Browse files Browse the repository at this point in the history
Co-authored-by: Ganesh Vanahalli <[email protected]>
  • Loading branch information
Tristan-Wilson and ganeshvanahalli authored Nov 15, 2024
1 parent f5ca4bf commit 23869a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion execution/gethexec/sequencer.go
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ func (s *Sequencer) publishTransactionImpl(parentCtx context.Context, tx *types.
}

if s.config().Timeboost.Enable && s.expressLaneService != nil {
if isExpressLaneController && s.expressLaneService.currentRoundHasController() {
if !isExpressLaneController && s.expressLaneService.currentRoundHasController() {
time.Sleep(s.config().Timeboost.ExpressLaneAdvantage)
}
}
Expand Down

0 comments on commit 23869a2

Please sign in to comment.