diff options
Diffstat (limited to 'packages/taler-wallet-core/src/operations')
-rw-r--r-- | packages/taler-wallet-core/src/operations/pay.ts | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/packages/taler-wallet-core/src/operations/pay.ts b/packages/taler-wallet-core/src/operations/pay.ts index 464c3136f..e662ee72f 100644 --- a/packages/taler-wallet-core/src/operations/pay.ts +++ b/packages/taler-wallet-core/src/operations/pay.ts @@ -205,10 +205,7 @@ export async function getEffectiveDepositAmount( return Amounts.sub(Amounts.sum(amt).amount, Amounts.sum(fees).amount).amount; } -export function isSpendableCoin( - coin: CoinRecord, - denom: DenominationRecord, -): boolean { +function isSpendableCoin(coin: CoinRecord, denom: DenominationRecord): boolean { if (coin.suspended) { return false; } @@ -721,7 +718,9 @@ async function processDownloadProposalImpl( ); if (!isWellFormed) { - logger.trace(`malformed contract terms: ${j2s(proposalResp.contract_terms)}`); + logger.trace( + `malformed contract terms: ${j2s(proposalResp.contract_terms)}`, + ); const err = makeErrorDetails( TalerErrorCode.WALLET_CONTRACT_TERMS_MALFORMED, "validation for well-formedness failed", |