aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/transactions.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-core/src/operations/transactions.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/transactions.ts4
1 files changed, 4 insertions, 0 deletions
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(