Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebruce0x committed Jul 17, 2024
1 parent 4b1944c commit a57c5a3
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions projects/tonbridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a57c5a3

Please sign in to comment.