wallet-core: only report balance-change when withdrawal finishes
This commit is contained in:
parent
5bbf41ce1c
commit
79e520c415
@ -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 });
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user