Skip to content

Commit

Permalink
fix sync lookback
Browse files Browse the repository at this point in the history
  • Loading branch information
tchardin committed Mar 7, 2024
1 parent 60cfb0d commit bc5ce08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op-node/rollup/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ func (c *Config) PlasmaConfig() (plasma.Config, error) {
// In plasma mode longest possible window is challenge + resolve windows.
func (c *Config) SyncLookback() uint64 {
if c.UsePlasma {
if win := (c.DAChallengeWindow + c.DAResolveWindow + c.SeqWindowSize); win > c.SeqWindowSize {
if win := (c.DAChallengeWindow + c.DAResolveWindow); win > c.SeqWindowSize {
return win
}
}
Expand Down

0 comments on commit bc5ce08

Please sign in to comment.