Skip to content

Commit

Permalink
Merge pull request #182 from mvp1983/main
Browse files Browse the repository at this point in the history
Clip Finance: fix 1e+21
  • Loading branch information
nitish-91 authored May 27, 2024
2 parents a7fc329 + 9c76190 commit ae9767e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/clip_finance/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const getUserTVLByBlock = async (blocks: BlockData) => {
timestamp: blockTimestamp,
user_address: snapshot.id,
token_address: snapshot.token,
token_balance: BigInt(snapshot.balance.toString()),
token_balance: BigInt(snapshot.balance.toFixed(0)),
token_symbol: snapshot.tokenSymbol,
usd_price: 0
};
Expand Down

0 comments on commit ae9767e

Please sign in to comment.