diff --git a/service/holders_scanner.go b/service/holders_scanner.go index a3d4ba76..b7c91159 100644 --- a/service/holders_scanner.go +++ b/service/holders_scanner.go @@ -449,12 +449,12 @@ func (s *HoldersScanner) scanHolders(ctx context.Context, addr common.Address, c for holder, balance := range externalBalances { th.Append(holder, balance) } - th.Synced() blockNumber, err := provider.LatestBlockNumber(ctx, []byte(th.ExternalID)) if err != nil { return false, err } th.BlockDone(blockNumber) + th.Synced() return true, s.saveHolders(th) } // get correct web3 uri provider