From b0258d1909c193af4bce99fd15e0c617a63fe8d0 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 18 Jan 2023 12:36:49 -0300 Subject: [PATCH] fix tx pending state --- packages/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 index 0e86c77ed..3db548fa3 100644 --- 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: {