taler-typescript-core

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

commit b0258d1909c193af4bce99fd15e0c617a63fe8d0
parent 44570081f1861681c3f9799c79c6d1c57673195e
Author: Sebastian <sebasjm@gmail.com>
Date:   Wed, 18 Jan 2023 12:36:49 -0300

fix tx pending state

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

diff --git a/packages/taler-wallet-core/src/operations/transactions.ts b/packages/taler-wallet-core/src/operations/transactions.ts @@ -409,7 +409,9 @@ function buildTransactionForPullPaymentCredit( amountEffective: Amounts.stringify(wsr.denomsSel.totalCoinValue), amountRaw: Amounts.stringify(wsr.instructedAmount), exchangeBaseUrl: wsr.exchangeBaseUrl, - extendedStatus: ExtendedStatus.Done, + extendedStatus: wsr.timestampFinish + ? ExtendedStatus.Done + : ExtendedStatus.Pending, pending: !wsr.timestampFinish, timestamp: wsr.timestampStart, info: {