Skip to content

Commit

Permalink
fix: use correct types
Browse files Browse the repository at this point in the history
  • Loading branch information
JuArce committed Aug 27, 2024
1 parent 2cda24f commit b5ff94b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aggregator/internal/pkg/subscriber.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ func (agg *Aggregator) SubscribeToNewTasks() error {
return err
}

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

for {
select {
Expand Down
2 changes: 1 addition & 1 deletion operator/pkg/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func (o *Operator) Start(ctx context.Context) error {
metricsErrChan = make(chan error, 1)
}

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

for {
select {
Expand Down

0 comments on commit b5ff94b

Please sign in to comment.