Skip to content

Commit

Permalink
Merge branch 'main' into bug/null_columns_issue_on_migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmenendez authored Nov 7, 2023
2 parents dad0952 + 3124809 commit 7108b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/holders_scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7108b24

Please sign in to comment.