wallet-core: only report balance-change when withdrawal finishes

This commit is contained in:
Florian Dold 2023-06-28 11:18:03 +02:00
parent 5bbf41ce1c
commit 79e520c415
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -1130,10 +1130,6 @@ async function processPlanchetVerifyAndStoreCoin(
await makeCoinAvailable(ws, tx, coin); await makeCoinAvailable(ws, tx, coin);
return true; return true;
}); });
if (success) {
ws.notify({ type: NotificationType.BalanceChange });
}
} }
/** /**