Skip to content

Commit

Permalink
catch 0 transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebruce0x committed Jan 6, 2025
1 parent 57161ad commit 95f9da7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helpers/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ async function getAllTransfers(fromAddressFilter: string | null, toAddressFilter
})

logs.forEach((log) => {
if (log.data == '0x') return
balances!.add(tokenTransform(log.address), log.data)
})
return balances
Expand Down

0 comments on commit 95f9da7

Please sign in to comment.