[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: fix: update retry info before
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: fix: update retry info before return also for purchase |
Date: |
Wed, 18 May 2022 21:39:55 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 611a57ca fix: update retry info before return also for purchase
611a57ca is described below
commit 611a57ca0a73d864584d8f06aa3d6a3ed615542e
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Wed May 18 16:39:36 2022 -0300
fix: update retry info before return also for purchase
---
packages/taler-wallet-core/src/operations/pay.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/taler-wallet-core/src/operations/pay.ts
b/packages/taler-wallet-core/src/operations/pay.ts
index ef81d117..b28faa4c 100644
--- a/packages/taler-wallet-core/src/operations/pay.ts
+++ b/packages/taler-wallet-core/src/operations/pay.ts
@@ -1540,6 +1540,7 @@ async function processPurchasePayImpl(
} = {},
): Promise<ConfirmPayResult> {
const forceNow = options.forceNow ?? false;
+ await setupPurchasePayRetry(ws, proposalId, { reset: forceNow });
const purchase = await ws.db
.mktx((x) => ({ purchases: x.purchases }))
.runReadOnly(async (tx) => {
@@ -1562,7 +1563,6 @@ async function processPurchasePayImpl(
lastError: purchase.lastPayError,
};
}
- await setupPurchasePayRetry(ws, proposalId, { reset: forceNow });
logger.trace(`processing purchase pay ${proposalId}`);
const sessionId = purchase.lastSessionId;
--
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: fix: update retry info before return also for purchase,
gnunet <=