Skip to content

Commit

Permalink
Update blocks_reexecutor/blocks_reexecutor.go
Browse files Browse the repository at this point in the history
Co-authored-by: Maciej Kulawik <[email protected]>
  • Loading branch information
ganeshvanahalli and magicxyyz authored May 23, 2024
1 parent 6884188 commit 8504c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks_reexecutor/blocks_reexecutor.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (c *Config) Validate() error {
if c.EndBlock < c.StartBlock {
return errors.New("invalid block range for blocks re-execution")
}
if c.Room < 0 {
if c.Room <= 0 {
return errors.New("room for blocks re-execution should be greater than 0")
}
return nil
Expand Down

0 comments on commit 8504c5c

Please sign in to comment.