[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: wallet-core: return correct s
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: wallet-core: return correct status from processReserveBankStatus |
Date: |
Fri, 30 Sep 2022 13:22:04 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 3bf4ce7f1 wallet-core: return correct status from
processReserveBankStatus
3bf4ce7f1 is described below
commit 3bf4ce7f13383b45128fa661050198efdf4d41f7
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri Sep 30 13:22:00 2022 +0200
wallet-core: return correct status from processReserveBankStatus
---
packages/taler-wallet-core/src/operations/withdraw.ts | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts
b/packages/taler-wallet-core/src/operations/withdraw.ts
index 461b96079..e7760174e 100644
--- a/packages/taler-wallet-core/src/operations/withdraw.ts
+++ b/packages/taler-wallet-core/src/operations/withdraw.ts
@@ -1731,9 +1731,15 @@ async function processReserveBankStatus(
await tx.withdrawalGroups.put(r);
});
- return {
- status: BankStatusResultCode.Done,
- };
+ if (status.transfer_done) {
+ return {
+ status: BankStatusResultCode.Done,
+ };
+ } else {
+ return {
+ status: BankStatusResultCode.Waiting,
+ };
+ }
}
export async function internalCreateWithdrawalGroup(
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: wallet-core: return correct status from processReserveBankStatus,
gnunet <=