aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/recoup.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/recoup.ts
parenta86c948fc9e44e3503cd19776c3eb6410ea3d674 (diff)
downloadwallet-core-e5a8ae7d60c9fc9d6740ef391ac34f2ac620b0f4.tar.xz
wallet-core: remove redundant/unused notifications
Diffstat (limited to 'packages/taler-wallet-core/src/operations/recoup.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/recoup.ts12
1 files changed, 0 insertions, 12 deletions
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,