We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f4f459 commit 9c2619cCopy full SHA for 9c2619c
src/utils/NumberUtils.ts
@@ -88,10 +88,8 @@ export function adjustedTransactionAmount(
88
if (amountAndFee.gt(availableBalance)) {
89
if (availableBalance.gte(fixedFee)) {
90
return availableBalance.minus(fixedFee).toFixed();
91
- } else {
92
- /* if available balance is less than the fixed fee*/
93
- return '0';
94
}
+ return '0';
95
96
return formAmount.toString();
97
0 commit comments