diff options
| author | Adam Soltys <[email protected]> | 2026-06-27 14:15:18 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-27 14:15:18 -0700 |
| commit | fea5010f83c013bf25fb50649366b5c91f3c0b3a (patch) | |
| tree | 6640a54a54cc8dbafe7bcd8286a3926c774ffcff | |
| parent | 44a4ae7ff10cc9575f26d959aa334d370f41dd97 (diff) | |
| parent | 342987a97dfa031e43e370b593bc9b57012dcc71 (diff) | |
| download | coinosv3-fea5010f83c013bf25fb50649366b5c91f3c0b3a.tar.gz coinosv3-fea5010f83c013bf25fb50649366b5c91f3c0b3a.zip | |
Merge branch 'master' into boltz-swaps
| -rw-r--r-- | src/app.js | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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. |
