gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] 02/02: fix tx pending state


From: gnunet
Subject: [taler-wallet-core] 02/02: fix tx pending state
Date: Wed, 18 Jan 2023 16:36:59 +0100

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository wallet-core.

commit b0258d1909c193af4bce99fd15e0c617a63fe8d0
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Wed Jan 18 12:36:49 2023 -0300

    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: {

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]