Skip to content

Commit

Permalink
fix: issues with erigon when we send empty requests
Browse files Browse the repository at this point in the history
  • Loading branch information
praetoriansentry committed Oct 6, 2023
1 parent dbd9598 commit 07f1956
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/monitor/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,9 @@ func (ms *monitorStatus) getBlockRange(ctx context.Context, from, to *big.Int, r
Error: err,
})
}
if len(blms) == 0 {
return nil
}
b := backoff.NewExponentialBackOff()
b.MaxElapsedTime = 3 * time.Minute
retryable := func() error {
Expand Down

0 comments on commit 07f1956

Please sign in to comment.