taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit eaccc56c2251a0e97242f5ee5c7850d98ad736b5
parent fe652b24948b0e875eb8fde89d3e3c80c50e3f6b
Author: Florian Dold <dold@taler.net>
Date:   Thu,  3 Sep 2026 15:56:11 +0200

wallet-core: allow redenomination while a withdrawal waits for KYC

A denomination that expires during the KYC wait otherwise left the
group retrying the same request and flagging the exchange unavailable
on every run.

Diffstat:
Mpackages/taler-wallet-core/src/withdraw.ts | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/packages/taler-wallet-core/src/withdraw.ts b/packages/taler-wallet-core/src/withdraw.ts @@ -3183,6 +3183,9 @@ async function startRedenomination( const [rec, h] = await ctx.getRecordHandle(tx); switch (rec?.status) { case WithdrawalGroupStatus.PendingReady: + // The withdrawal request is also sent while waiting for KYC; a + // denomination that expired meanwhile is replaced the same way. + case WithdrawalGroupStatus.PendingKyc: break; default: return TaskRunResult.backoff();