aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/app.js b/src/app.js
index f812184..d5452ec 100644
--- a/src/app.js
+++ b/src/app.js
@@ -2768,7 +2768,10 @@ async function broadcast() {
ui.sendResult = { txid };
ui.draft = null;
ui.send = blankSend();
- await wallet.scan();
+ ui.busy = false;
+ render(); // show success immediately — don't hold the
+ wallet.scan().catch(() => {}); // spinner up for the post-send rescan
+ return;
} catch (e) {
ui.sendError = t('broadcastFailed', { msg: e.message });
}