aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-27 14:15:18 -0700
committerAdam Soltys <[email protected]>2026-06-27 14:15:18 -0700
commitfea5010f83c013bf25fb50649366b5c91f3c0b3a (patch)
tree6640a54a54cc8dbafe7bcd8286a3926c774ffcff /src
parent44a4ae7ff10cc9575f26d959aa334d370f41dd97 (diff)
parent342987a97dfa031e43e370b593bc9b57012dcc71 (diff)
downloadcoinosv3-fea5010f83c013bf25fb50649366b5c91f3c0b3a.tar.gz
coinosv3-fea5010f83c013bf25fb50649366b5c91f3c0b3a.zip
Merge branch 'master' into boltz-swaps
Diffstat (limited to 'src')
-rw-r--r--src/app.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/app.js b/src/app.js
index 5b6f24f..d29e7d5 100644
--- a/src/app.js
+++ b/src/app.js
@@ -696,7 +696,12 @@ async function activateAccount(acc, opts = {}) {
wallet.setReceiveAck(ack);
}
}
- ui.receiveSeenIndex = ack;
+ // For a fresh open, leave receiveSeenIndex null until the post-scan baseline
+ // below. Setting it now (to the pre-scan frontier) lets the socket's reconcile
+ // credit a deposit that predates this open and briefly flash the "payment
+ // received" screen before the baseline catches up. A same-session refresh
+ // uses the persisted ack right away.
+ if (!opts.fresh) ui.receiveSeenIndex = ack;
// Go Live immediately: the socket must not wait on Nostr (up to 6s) or any
// discovery scan. The cache/Nostr state is already on screen.