From e5a8ae7d60c9fc9d6740ef391ac34f2ac620b0f4 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 20 Jun 2023 16:07:15 +0200 Subject: wallet-core: remove redundant/unused notifications --- packages/taler-wallet-core/src/operations/recoup.ts | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'packages/taler-wallet-core/src/operations/recoup.ts') diff --git a/packages/taler-wallet-core/src/operations/recoup.ts b/packages/taler-wallet-core/src/operations/recoup.ts index 71eb58ec9..056aa83b8 100644 --- a/packages/taler-wallet-core/src/operations/recoup.ts +++ b/packages/taler-wallet-core/src/operations/recoup.ts @@ -136,10 +136,6 @@ async function recoupWithdrawCoin( return; } - ws.notify({ - type: NotificationType.RecoupStarted, - }); - const recoupRequest = await ws.cryptoApi.createRecoupRequest({ blindingKey: coin.blindingKey, coinPriv: coin.coinPriv, @@ -182,10 +178,6 @@ async function recoupWithdrawCoin( await tx.coins.put(updatedCoin); await putGroupAsFinished(ws, tx, recoupGroup, coinIdx); }); - - ws.notify({ - type: NotificationType.RecoupFinished, - }); } async function recoupRefreshCoin( @@ -214,10 +206,6 @@ async function recoupRefreshCoin( return; } - ws.notify({ - type: NotificationType.RecoupStarted, - }); - const recoupRequest = await ws.cryptoApi.createRecoupRefreshRequest({ blindingKey: coin.blindingKey, coinPriv: coin.coinPriv, -- cgit v1.2.3