[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: -comment
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: -comment |
Date: |
Wed, 24 May 2023 15:09:44 +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 7b2aa57b1 -comment
7b2aa57b1 is described below
commit 7b2aa57b1884a076334e916f1c82394ca7fc2a21
Author: Florian Dold <florian@dold.me>
AuthorDate: Wed May 24 15:09:42 2023 +0200
-comment
---
packages/taler-wallet-core/src/operations/transactions.ts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/packages/taler-wallet-core/src/operations/transactions.ts
b/packages/taler-wallet-core/src/operations/transactions.ts
index dba082854..e11b628db 100644
--- a/packages/taler-wallet-core/src/operations/transactions.ts
+++ b/packages/taler-wallet-core/src/operations/transactions.ts
@@ -1614,7 +1614,7 @@ export async function deleteTransaction(
case TransactionType.Refund: {
const refundGroupId = parsedTx.refundGroupId;
await ws.db
- .mktx((x) => [x.refundGroups, x.tombstones])
+ .mktx((x) => [x.refundGroups, x.tombstones, x.refundItems])
.runReadWrite(async (tx) => {
const refundRecord = await tx.refundGroups.get(refundGroupId);
if (!refundRecord) {
@@ -1622,6 +1622,7 @@ export async function deleteTransaction(
}
await tx.refundGroups.delete(refundGroupId);
await tx.tombstones.put({ id: transactionId });
+ // FIXME: Also tombstone the refund items, so that they won't
reappear.
});
return;
}
--
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: -comment,
gnunet <=