aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-02-19 20:10:24 +0100
committerFlorian Dold <florian@dold.me>2024-02-19 20:10:24 +0100
commit151ab351f6a2e00caecc9a1dda19b724f90a088e (patch)
tree90faf694c5bfe14d3a71f3f57cc617a31d658bf6
parent194eeea6aaf4ab401825aa07073b3e0a4f9d3c1b (diff)
downloadwallet-core-151ab351f6a2e00caecc9a1dda19b724f90a088e.tar.xz
-dce
-rw-r--r--packages/taler-wallet-core/src/withdraw.ts14
1 files changed, 0 insertions, 14 deletions
diff --git a/packages/taler-wallet-core/src/withdraw.ts b/packages/taler-wallet-core/src/withdraw.ts
index 4979b2623..45792af41 100644
--- a/packages/taler-wallet-core/src/withdraw.ts
+++ b/packages/taler-wallet-core/src/withdraw.ts
@@ -2564,22 +2564,8 @@ export async function acceptWithdrawalFromUri(
const ctx = new WithdrawTransactionContext(ws, withdrawalGroupId);
- // FIXME: Do we wait here until the reserve is registered with the bank?
-
await waitWithdrawalRegistered(ws, ctx);
- const processedWithdrawalGroup = await getWithdrawalGroupRecordTx(ws.db, {
- withdrawalGroupId,
- });
- if (
- processedWithdrawalGroup?.status === WithdrawalGroupStatus.FailedBankAborted
- ) {
- throw TalerError.fromDetail(
- TalerErrorCode.WALLET_WITHDRAWAL_OPERATION_ABORTED_BY_BANK,
- {},
- );
- }
-
ws.taskScheduler.startShepherdTask(ctx.taskId);
return {