taler-typescript-core

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

commit 4521b2a52e2c930de8c79716bf843a59f3721515
parent c7793c49ade230f0552a837a23ecf6ae8ba3ee2f
Author: Florian Dold <dold@taler.net>
Date:   Wed, 22 Jul 2026 00:30:49 +0200

wallet: retry a recoup group that still has unfinished coins

Reporting the task as finished stopped it from ever running again, while
the group itself stayed non-final, so a coin that returned early without
being marked finished left the recoup stuck.

Diffstat:
Mpackages/taler-wallet-core/src/recoup.ts | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/packages/taler-wallet-core/src/recoup.ts b/packages/taler-wallet-core/src/recoup.ts @@ -317,7 +317,8 @@ export async function processRecoupGroup( for (const b of recoupGroup.recoupFinishedPerCoin) { if (!b) { - return TaskRunResult.finished(); + // Some coin still needs to be recouped, come back later. + return TaskRunResult.backoff(); } }