taler-typescript-core

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

commit 35369bdc722780eab5e9cd08703cf72d718b0dba
parent 78b9f3e4d94af915c7f4480519e937fa5dacf620
Author: Sebastian <sebasjm@gmail.com>
Date:   Mon,  6 Nov 2023 14:22:44 -0300

when planchet is complete, clean lastError

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

diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts @@ -1098,6 +1098,7 @@ async function processPlanchetVerifyAndStoreCoin( return false; } p.planchetStatus = PlanchetStatus.WithdrawalDone; + p.lastError = undefined await tx.planchets.put(p); await makeCoinAvailable(ws, tx, coin); return true;