Skip to content

Commit

Permalink
Update marketcap.js
Browse files Browse the repository at this point in the history
  • Loading branch information
DDeAlmeida authored Jun 23, 2022
1 parent 107b110 commit 3294804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion marketcap.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const updateMarketcap = async () => {
lockedHolders.map(async (address) => {
const account = await near.account(address);
const ft_balance = await account.viewFunction(tokenContractName, 'ft_balance_of', {account_id: address})
const parsedBalance = Number(ft_balance)/Math.pow(10,18);
const parsedBalance = Number(ft_balance)/Math.pow(10,24);
return {
address,
balance: parsedBalance,
Expand Down

0 comments on commit 3294804

Please sign in to comment.