fix zeroOfCurrency
This commit is contained in:
parent
fb4896cf18
commit
44570081f1
@ -319,7 +319,7 @@ export async function selectPeerCoins(
|
||||
exchangeFeeGap[exch.baseUrl] ?? Amounts.zeroOfCurrency(currency);
|
||||
if (Amounts.cmp(infoExchange.balanceMaterial, instructedAmount) < 0) {
|
||||
// Show fee gap only if we should've been able to pay with the material amount
|
||||
gap = Amounts.zeroOfAmount(currency);
|
||||
gap = Amounts.zeroOfCurrency(currency);
|
||||
}
|
||||
perExchange[exch.baseUrl] = {
|
||||
balanceAvailable: Amounts.stringify(infoExchange.balanceAvailable),
|
||||
|
Loading…
Reference in New Issue
Block a user