Skip to content

Commit

Permalink
Merge branch 'mainnet' into testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecot committed Dec 19, 2024
2 parents 52fd735 + 20e2602 commit befa8ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/indexer/lavarpc_agregators/SupplyProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ async function getTotalTokenSupply(client: LavaClient): Promise<bigint> {
let totalSupply = 0n;

supplies.supply.forEach((supply) => {
totalSupply += BigInt(supply.amount);
if (supply.denom === 'ulava') {
totalSupply += BigInt(supply.amount);
}
});

return totalSupply;
Expand Down

0 comments on commit befa8ad

Please sign in to comment.