Skip to content

Commit 9c2619c

Browse files
committed
remove else
1 parent 3f4f459 commit 9c2619c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/utils/NumberUtils.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,8 @@ export function adjustedTransactionAmount(
8888
if (amountAndFee.gt(availableBalance)) {
8989
if (availableBalance.gte(fixedFee)) {
9090
return availableBalance.minus(fixedFee).toFixed();
91-
} else {
92-
/* if available balance is less than the fixed fee*/
93-
return '0';
9491
}
92+
return '0';
9593
}
9694
return formAmount.toString();
9795
}

0 commit comments

Comments
 (0)