aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/withdraw.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-06-20 16:07:15 +0200
committerFlorian Dold <florian@dold.me>2023-06-20 16:07:20 +0200
commite5a8ae7d60c9fc9d6740ef391ac34f2ac620b0f4 (patch)
tree472ddac0bbcf0b80a682672462870de613e8b3c8 /packages/taler-wallet-core/src/operations/withdraw.ts
parenta86c948fc9e44e3503cd19776c3eb6410ea3d674 (diff)
wallet-core: remove redundant/unused notifications
Diffstat (limited to 'packages/taler-wallet-core/src/operations/withdraw.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/withdraw.ts13
1 files changed, 0 insertions, 13 deletions
diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts
index 118084197..ed9522c0f 100644
--- a/packages/taler-wallet-core/src/operations/withdraw.ts
+++ b/packages/taler-wallet-core/src/operations/withdraw.ts
@@ -1515,14 +1515,6 @@ async function processWithdrawalGroupPendingReady(
);
}
- // FIXME: Deprecated with DD37
- if (finishedForFirstTime) {
- ws.notify({
- type: NotificationType.WithdrawGroupFinished,
- reservePub: withdrawalGroup.reservePub,
- });
- }
-
return {
type: OperationAttemptResultType.Finished,
result: undefined,
@@ -1634,11 +1626,6 @@ export async function checkWithdrawalKycStatus(
} else if (kycStatusRes.status === HttpStatusCode.Accepted) {
const kycStatus = await kycStatusRes.json();
logger.info(`kyc status: ${j2s(kycStatus)}`);
- ws.notify({
- type: NotificationType.KycRequested,
- kycUrl: kycStatus.kyc_url,
- transactionId: txId,
- });
throw TalerError.fromDetail(
TalerErrorCode.WALLET_WITHDRAWAL_KYC_REQUIRED, //FIXME: another error code or rename for merge
{