Skip to content

Commit

Permalink
fix eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
fegloff committed Jan 29, 2024
1 parent 5205af8 commit 85020c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/payment/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class BotPayments {

// always hold 1 ONE on user balance to pay fees
const minOneAmount = new BigNumber(10 ** 18)
if(availableBalance.minus(txFee).gt(minOneAmount)) {
if (availableBalance.minus(txFee).gt(minOneAmount)) {
availableBalance = availableBalance.minus(minOneAmount)
}

Expand Down

0 comments on commit 85020c0

Please sign in to comment.