diff options
author | Sebastian <sebasjm@gmail.com> | 2024-01-24 17:48:00 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-01-24 17:48:00 -0300 |
commit | a324ba367a75fc790f9456e479e7bbf22abe00aa (patch) | |
tree | a34fc8ea0a9fbe3afa251e684e1fe5173a8fb8f5 /packages/taler-wallet-core | |
parent | 236d4347f5884bb1d9ca1d3bb4ad0ba776577fd2 (diff) | |
download | wallet-core-a324ba367a75fc790f9456e479e7bbf22abe00aa.tar.gz wallet-core-a324ba367a75fc790f9456e479e7bbf22abe00aa.tar.bz2 wallet-core-a324ba367a75fc790f9456e479e7bbf22abe00aa.zip |
fixes #8265
Diffstat (limited to 'packages/taler-wallet-core')
-rw-r--r-- | packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts | 2 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/operations/withdraw.ts | 7 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 8 |
3 files changed, 8 insertions, 9 deletions
diff --git a/packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts b/packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts index c8cfaac7d..427961f44 100644 --- a/packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts +++ b/packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts @@ -775,7 +775,7 @@ async function handlePendingMerge( wgCreateRes, }; }); - // Transaction was commited, now we can emit notifications. + // Transaction was committed, now we can emit notifications. if (txRes?.wgCreateRes?.exchangeNotif) { ws.notify(txRes.wgCreateRes.exchangeNotif); } diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts index d198cf482..0fca01d1c 100644 --- a/packages/taler-wallet-core/src/operations/withdraw.ts +++ b/packages/taler-wallet-core/src/operations/withdraw.ts @@ -1219,8 +1219,7 @@ export async function updateWithdrawalDenoms( denom.verificationStatus === DenominationVerificationStatus.Unverified ) { logger.trace( - `Validating denomination (${current + 1}/${ - denominations.length + `Validating denomination (${current + 1}/${denominations.length }) signature of ${denom.denomPubHash}`, ); let valid = false; @@ -1768,7 +1767,7 @@ export async function getExchangeWithdrawalInfo( const exchange = await fetchFreshExchange(ws, exchangeBaseUrl); if (exchange.currency != instructedAmount.currency) { - // Specifiying the amount in the conversion input currency is not yet supported. + // Specifying the amount in the conversion input currency is not yet supported. // We might add support for it later. throw new Error( `withdrawal only supported when specifying target currency ${exchange.currency}`, @@ -1865,7 +1864,7 @@ export async function getExchangeWithdrawalInfo( ) { logger.warn( `wallet's support for exchange protocol version ${WALLET_EXCHANGE_PROTOCOL_VERSION} might be outdated ` + - `(exchange has ${exchange.protocolVersionRange}), checking for updates`, + `(exchange has ${exchange.protocolVersionRange}), checking for updates`, ); } } diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index 72e9750bc..ea64ff1aa 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -464,7 +464,7 @@ async function runTaskLoop( } logger.trace( - `running task loop, iter=${iteration}, #tasks=${pending.pendingOperations.length} #lifeness=${numGivingLiveness}, #due=${numDue} #trottled=${numThrottled}`, + `running task loop, iter=${iteration}, #tasks=${pending.pendingOperations.length} #lifeness=${numGivingLiveness}, #due=${numDue} #throttled=${numThrottled}`, ); if (opts.stopWhenDone && numGivingLiveness === 0 && iteration !== 0) { @@ -735,9 +735,9 @@ async function dumpCoins(ws: InternalWalletState): Promise<CoinDumpJson> { ageCommitmentProof: c.ageCommitmentProof, spend_allocation: c.spendAllocation ? { - amount: c.spendAllocation.amount, - id: c.spendAllocation.id, - } + amount: c.spendAllocation.amount, + id: c.spendAllocation.id, + } : undefined, }); } |