summaryrefslogtreecommitdiff
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 e11b628db..2eb8b202d 100644
--- a/packages/taler-wallet-core/src/operations/transactions.ts
+++ b/packages/taler-wallet-core/src/operations/transactions.ts
@@ -76,6 +76,7 @@ import {
import {
computeDepositTransactionStatus,
processDepositGroup,
+ resumeDepositGroup,
suspendDepositGroup,
} from "./deposits.js";
import { getExchangeDetails } from "./exchanges.js";
@@ -1429,6 +1430,9 @@ export async function resumeTransaction(
throw Error("invalid transaction ID");
}
switch (tx.tag) {
+ case TransactionType.Deposit:
+ await resumeDepositGroup(ws, tx.depositGroupId);
+ return;
default:
logger.warn(`unable to resume transaction of type '${tx.tag}'`);
}