Skip to content

Commit

Permalink
Remove unused MaxStopBlock constant
Browse files Browse the repository at this point in the history
The MaxStopBlock constant was removed because it was not used anywhere in the code. Cleans up unnecessary variables and maintains code readability.
  • Loading branch information
billettc committed Nov 26, 2024
1 parent 51f831a commit 2d88fb9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions blockpoller/poller.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ func New[C any](
return b
}

const MaxStopBlock = math.MaxUint64

func (p *BlockPoller[C]) Run(firstStreamableBlockNum uint64, stopBlock *uint64, blockFetchBatchSize int) error {
p.startBlockNumGate = firstStreamableBlockNum
p.logger.Info("starting poller",
Expand Down

0 comments on commit 2d88fb9

Please sign in to comment.