Skip to content

Commit

Permalink
enableTrading - removed debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
yudilevi committed Sep 21, 2023
1 parent 98498db commit 8c43cfd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/enableTrading.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ interface TokenData {
}

const MAX_PRECISION = 16;
const TOKEN_ADDRESSES: string[] = ['0x6B175474E89094C44Da98b954EedeAC495271d0F'];
const TOKEN_ADDRESSES: string[] = [];

interface TokenOverride {
address: string;
Expand Down Expand Up @@ -91,10 +91,10 @@ const main = async () => {
Logger.log();
Logger.log(`Checking ${symbol} status [${token}]...`);

//if (await carbonPOL.tradingEnabled(token)) {
// Logger.error(' Skipping already enabled token...');
// continue;
//}
if (await carbonPOL.tradingEnabled(token)) {
Logger.error(' Skipping already enabled token...');
continue;
}

const tokenPriceData = tokenPrices[token.toLowerCase()];
if (!tokenPriceData) {
Expand Down

0 comments on commit 8c43cfd

Please sign in to comment.