taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 151ab351f6a2e00caecc9a1dda19b724f90a088e
parent 194eeea6aaf4ab401825aa07073b3e0a4f9d3c1b
Author: Florian Dold <florian@dold.me>
Date:   Mon, 19 Feb 2024 20:10:24 +0100

-dce

Diffstat:
Mpackages/taler-wallet-core/src/withdraw.ts | 14--------------
1 file changed, 0 insertions(+), 14 deletions(-)

diff --git 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 {