From 79e520c4159ffb0f5a6e32487b0fd7c998470443 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 28 Jun 2023 11:18:03 +0200 Subject: wallet-core: only report balance-change when withdrawal finishes --- packages/taler-wallet-core/src/operations/withdraw.ts | 4 ---- 1 file changed, 4 deletions(-) (limited to 'packages') diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts index 111a52882..d1e144c6a 100644 --- a/packages/taler-wallet-core/src/operations/withdraw.ts +++ b/packages/taler-wallet-core/src/operations/withdraw.ts @@ -1130,10 +1130,6 @@ async function processPlanchetVerifyAndStoreCoin( await makeCoinAvailable(ws, tx, coin); return true; }); - - if (success) { - ws.notify({ type: NotificationType.BalanceChange }); - } } /** -- cgit v1.2.3