From 2d88fb9912a919ff5772e855029eca44fd4d9e2e Mon Sep 17 00:00:00 2001 From: Charles Billette Date: Tue, 26 Nov 2024 09:37:26 -0500 Subject: [PATCH] Remove unused MaxStopBlock constant The MaxStopBlock constant was removed because it was not used anywhere in the code. Cleans up unnecessary variables and maintains code readability. --- blockpoller/poller.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/blockpoller/poller.go b/blockpoller/poller.go index dafe9b1..3daaed8 100644 --- a/blockpoller/poller.go +++ b/blockpoller/poller.go @@ -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",