diff options
author | Florian Dold <florian@dold.me> | 2023-05-26 10:43:49 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-05-26 10:43:49 +0200 |
commit | 5df212c66df5b859dc18e80d7d759f43ce5ef6b5 (patch) | |
tree | 4b1b50572b92b027f57f04fc9f8e437e644480e2 /packages/taler-wallet-core/src/operations/transactions.ts | |
parent | 5b665c7d809def0c6e2d7487b43194d3042c9fe9 (diff) | |
download | wallet-core-5df212c66df5b859dc18e80d7d759f43ce5ef6b5.tar.gz wallet-core-5df212c66df5b859dc18e80d7d759f43ce5ef6b5.tar.bz2 wallet-core-5df212c66df5b859dc18e80d7d759f43ce5ef6b5.zip |
wallet-core: dispatch cancelAborting for withdrawal
Diffstat (limited to 'packages/taler-wallet-core/src/operations/transactions.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/transactions.ts | 4 |
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 e3cfa0c25..ac502fc08 100644 --- a/packages/taler-wallet-core/src/operations/transactions.ts +++ b/packages/taler-wallet-core/src/operations/transactions.ts @@ -106,6 +106,7 @@ import { computeTipTransactionStatus, processTip } from "./tip.js"; import { abortWithdrawalTransaction, augmentPaytoUrisForWithdrawal, + cancelAbortingWithdrawalTransaction, computeWithdrawalTransactionStatus, processWithdrawalGroup, } from "./withdraw.js"; @@ -1415,6 +1416,9 @@ export async function cancelAbortingTransaction( case TransactionType.Deposit: await cancelAbortingDepositGroup(ws, tx.depositGroupId); return; + case TransactionType.Withdrawal: + await cancelAbortingWithdrawalTransaction(ws, tx.withdrawalGroupId); + return; default: logger.warn(`unable to suspend transaction of type '${tx.tag}'`); } |