Skip to content

Commit b5ff94b

Browse files
committed
fix: use correct types
1 parent 2cda24f commit b5ff94b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

aggregator/internal/pkg/subscriber.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ func (agg *Aggregator) SubscribeToNewTasks() error {
1010
return err
1111
}
1212

13-
var switchBlockNumber = uint64(2_268_375) // 2_268_375 is the block at sep 3th 15:00
13+
var switchBlockNumber = uint32(2_268_375) // 2_268_375 is the block at sep 3th 15:00
1414

1515
for {
1616
select {

operator/pkg/operator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func (o *Operator) Start(ctx context.Context) error {
149149
metricsErrChan = make(chan error, 1)
150150
}
151151

152-
var switchBlockNumber = uint64(2_268_375) // 2_268_375 is the block at sep 3th 15:00
152+
var switchBlockNumber = uint32(2_268_375) // 2_268_375 is the block at sep 3th 15:00
153153

154154
for {
155155
select {

0 commit comments

Comments
 (0)