Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
monilpat committed Dec 8, 2024
1 parent 5803d8b commit 47f5737
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/plugin-coinbase/src/plugins/advancedTrade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,6 @@ async function hasEnoughBalance(client: RESTClient, currency: string, amount: nu
}

const available = parseFloat(account.available_balance.value);
elizaLogger.info(`Available ${checkCurrency} balance: ${available}`);

// Add buffer for fees only on USD purchases
const requiredAmount = side === "BUY" ? amount * 1.01 : amount;
elizaLogger.info(`Required amount (including buffer): ${requiredAmount} ${checkCurrency}`);
Expand Down

0 comments on commit 47f5737

Please sign in to comment.