From 8259a8db7e9942ce1b0391b0391aff5adb33bc57 Mon Sep 17 00:00:00 2001 From: Karel Vuong <95452264+karelvuong@users.noreply.github.com> Date: Wed, 11 Dec 2024 21:20:36 -0500 Subject: [PATCH] remove supply on treasure from calc (#8) NOTE: doesn't yet account for Hyperlane's fees --- src/services/magic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/magic.js b/src/services/magic.js index a43db3f..e8c8938 100644 --- a/src/services/magic.js +++ b/src/services/magic.js @@ -35,7 +35,7 @@ const getCoinGeckoPriceInfo = async (currencies = ["USD"]) => { exports.getMagicTotalSupply = async () => { const excludedList = Object.entries(TOTAL_SUPPLY_EXCLUDED); const { totalSupplyTreasure, totalSupplyEth } = await getMagicTotalSupply(); - const totalSupply = totalSupplyTreasure + totalSupplyEth; + const totalSupply = totalSupplyEth; const excludedBalances = await Promise.all( excludedList.map(([name, addresses]) => Promise.all(