gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated: -fix method


From: gnunet
Subject: [taler-wallet-core] branch master updated: -fix method
Date: Thu, 25 May 2023 18:23:49 +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 485f7d360 -fix method
485f7d360 is described below

commit 485f7d3603bb3c9f563cf6c5fdaabdf474e9c4d5
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu May 25 18:23:47 2023 +0200

    -fix method
---
 packages/taler-wallet-core/src/operations/pay-merchant.ts | 1 +
 packages/taler-wallet-core/src/operations/transactions.ts | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/packages/taler-wallet-core/src/operations/pay-merchant.ts 
b/packages/taler-wallet-core/src/operations/pay-merchant.ts
index 4473b0be6..854202b6a 100644
--- a/packages/taler-wallet-core/src/operations/pay-merchant.ts
+++ b/packages/taler-wallet-core/src/operations/pay-merchant.ts
@@ -374,6 +374,7 @@ async function processDownloadProposal(
     });
 
   const httpResponse = await ws.http.fetch(orderClaimUrl, {
+    method: "POST",
     body: requestBody,
     timeout: getProposalRequestTimeout(retryRecord?.retryInfo),
   });
diff --git a/packages/taler-wallet-core/src/operations/transactions.ts 
b/packages/taler-wallet-core/src/operations/transactions.ts
index 2eb8b202d..478fa5ada 100644
--- a/packages/taler-wallet-core/src/operations/transactions.ts
+++ b/packages/taler-wallet-core/src/operations/transactions.ts
@@ -74,6 +74,7 @@ import {
   TombstoneTag,
 } from "./common.js";
 import {
+  abortDepositGroup,
   computeDepositTransactionStatus,
   processDepositGroup,
   resumeDepositGroup,
@@ -1682,6 +1683,9 @@ export async function abortTransaction(
       await abortWithdrawalTransaction(ws, txId.withdrawalGroupId);
       break;
     }
+    case TransactionType.Deposit:
+      await abortDepositGroup(ws, txId.depositGroupId);
+      break;
     default: {
       const unknownTxType: any = txId.tag;
       throw Error(

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