diff --git a/fetcher/fetcher.go b/fetcher/fetcher.go index b7da57690..d1e2c7a0d 100644 --- a/fetcher/fetcher.go +++ b/fetcher/fetcher.go @@ -147,7 +147,8 @@ func (bot *fetcherImpl) followLoop(ctx context.Context) error { aclient := bot.Algod() for { for retries := 0; retries < 3; retries++ { - _, err = aclient.StatusAfterBlock(bot.nextRound).Do(ctx) + // nextRound - 1 because the endpoint waits until "StatusAfterBlock" + _, err = aclient.StatusAfterBlock(bot.nextRound - 1).Do(ctx) if err != nil { // If context has expired. if ctx.Err() != nil {