From a57c5a31740956031fe70f57f9e14d8febe263ff Mon Sep 17 00:00:00 2001 From: waynebruce0x Date: Wed, 17 Jul 2024 10:22:20 +0100 Subject: [PATCH] remove debug --- projects/tonbridge.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/projects/tonbridge.js b/projects/tonbridge.js index 0c098d2c9bb1..730263b45cda 100644 --- a/projects/tonbridge.js +++ b/projects/tonbridge.js @@ -27,14 +27,7 @@ async function tvl() { const balances = {}; const tokenAddresses = Object.keys(tokenMap); for (let i = 0; i < tokenAddresses.length; i++) { - let a = await axios.get(burl + tokenAddresses[i]) - let supply - try { - supply = (await axios.get(burl + tokenAddresses[i])).data.totalSupply; - } catch { - let b = tokenAddresses[i] - a - } + const supply = (await axios.get(burl + tokenAddresses[i])).data.totalSupply; balances[tokenMap[tokenAddresses[i]]] = supply } return balances;