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/refresh.ts | 9 --------- 1 file changed, 9 deletions(-) (limited to 'packages/taler-wallet-core/src/operations/refresh.ts') diff --git a/packages/taler-wallet-core/src/operations/refresh.ts b/packages/taler-wallet-core/src/operations/refresh.ts index e00275c8d..9c9ad8bbd 100644 --- a/packages/taler-wallet-core/src/operations/refresh.ts +++ b/packages/taler-wallet-core/src/operations/refresh.ts @@ -266,7 +266,6 @@ async function refreshCreateSession( await tx.refreshGroups.put(rg); }); - ws.notify({ type: NotificationType.RefreshUnwarranted }); return; } @@ -297,7 +296,6 @@ async function refreshCreateSession( logger.info( `created refresh session for coin #${coinIndex} in ${refreshGroupId}`, ); - ws.notify({ type: NotificationType.RefreshStarted }); } function getRefreshRequestTimeout(rg: RefreshGroupRecord): Duration { @@ -482,10 +480,6 @@ async function refreshMelt( rs.norevealIndex = norevealIndex; await tx.refreshGroups.put(rg); }); - - ws.notify({ - type: NotificationType.RefreshMelted, - }); } export async function assembleRefreshRevealRequest(args: { @@ -742,9 +736,6 @@ async function refreshReveal( await tx.refreshGroups.put(rg); }); logger.trace("refresh finished (end of reveal)"); - ws.notify({ - type: NotificationType.RefreshRevealed, - }); } export async function processRefreshGroup( -- cgit v1.2.3