gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated (1eab08e04 -> 52d4e0491)


From: gnunet
Subject: [taler-wallet-core] branch master updated (1eab08e04 -> 52d4e0491)
Date: Wed, 10 Jan 2024 22:48:08 +0100

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

dold pushed a change to branch master
in repository wallet-core.

    from 1eab08e04 bump versions to 0.9.4-dev.5
     new de9dea067 wallet-core: fix wrong request method (typo!)
     new 52d4e0491 wallet-core: do not process payments in dialog states

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 packages/taler-wallet-core/src/operations/pending.ts  | 6 ++++++
 packages/taler-wallet-core/src/operations/withdraw.ts | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/packages/taler-wallet-core/src/operations/pending.ts 
b/packages/taler-wallet-core/src/operations/pending.ts
index 20359624d..990d9a7b3 100644
--- a/packages/taler-wallet-core/src/operations/pending.ts
+++ b/packages/taler-wallet-core/src/operations/pending.ts
@@ -440,6 +440,12 @@ async function gatherPurchasePending(
   resp: PendingOperationsResponse,
 ): Promise<void> {
   await iterRecordsForPurchase(tx, { onlyState: "nonfinal" }, async (pr) => {
+    switch (pr.purchaseStatus) {
+      // These states are nonfinal but don't need any processing
+      case PurchaseStatus.DialogProposed:
+      case PurchaseStatus.DialogShared:
+        return;
+    }
     const opId = TaskIdentifiers.forPay(pr);
     const retryRecord = await tx.operationRetries.get(opId);
     const timestampDue =
diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts 
b/packages/taler-wallet-core/src/operations/withdraw.ts
index 0817be472..d02cf0597 100644
--- a/packages/taler-wallet-core/src/operations/withdraw.ts
+++ b/packages/taler-wallet-core/src/operations/withdraw.ts
@@ -1001,7 +1001,7 @@ async function processPlanchetExchangeBatchRequest(
 
   try {
     const resp = await ws.http.fetch(reqUrl, {
-      method: "PATCH",
+      method: "POST",
       body: batchReq,
     });
     if (resp.status === HttpStatusCode.UnavailableForLegalReasons) {

-- 
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]