diff options
author | Florian Dold <florian@dold.me> | 2023-06-20 16:07:15 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-06-20 16:07:20 +0200 |
commit | e5a8ae7d60c9fc9d6740ef391ac34f2ac620b0f4 (patch) | |
tree | 472ddac0bbcf0b80a682672462870de613e8b3c8 /packages/taler-wallet-core/src/operations/refresh.ts | |
parent | a86c948fc9e44e3503cd19776c3eb6410ea3d674 (diff) | |
download | wallet-core-e5a8ae7d60c9fc9d6740ef391ac34f2ac620b0f4.tar.xz |
wallet-core: remove redundant/unused notifications
Diffstat (limited to 'packages/taler-wallet-core/src/operations/refresh.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/refresh.ts | 9 |
1 files changed, 0 insertions, 9 deletions
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( |