diff options
| author | Adam Soltys <[email protected]> | 2026-06-27 14:14:03 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-27 14:14:03 -0700 |
| commit | 342987a97dfa031e43e370b593bc9b57012dcc71 (patch) | |
| tree | 55261945fe776048d45d375c42dcccf531e4da47 /src/api.js | |
| parent | 000d7894074d8d1fe85cd4f98d3470aa685a727f (diff) | |
| download | coinosv3-342987a97dfa031e43e370b593bc9b57012dcc71.tar.gz coinosv3-342987a97dfa031e43e370b593bc9b57012dcc71.zip | |
Don't flash 'Payment received' on import for a pre-existing deposit
On a fresh open, receiveSeenIndex was baselined to the pre-scan frontier (line
691), so the moment the socket's reconcile credited a deposit that predated the
open, nextReceiveIndex advanced past it and the celebration flashed for ~2s until
the post-scan baseline caught up. Leave receiveSeenIndex null until that final
baseline for fresh opens (matching the documented intent); the != null guard then
suppresses the flash. Same-session refreshes still use the persisted ack.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Diffstat (limited to 'src/api.js')
0 files changed, 0 insertions, 0 deletions
