diff options
| author | Adam Soltys <[email protected]> | 2026-06-30 09:29:46 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-30 09:29:46 -0700 |
| commit | 6d649f9bdd0582520e23dff4b5a967f0a125857e (patch) | |
| tree | e8312ef64fc95a30144b50bbb563829eba6bc26b /src/api.js | |
| parent | c74a3181a415024eea016727a11a1fc59335697d (diff) | |
| download | coinosv3-6d649f9bdd0582520e23dff4b5a967f0a125857e.tar.gz coinosv3-6d649f9bdd0582520e23dff4b5a967f0a125857e.zip | |
Swaps: reuse the generic 'Payment received' screen for LN receives
A reverse-swap claim is an on-chain receive, so instead of a separate LN
'Received!' card (which stacked with the generic celebration and needed
suppression), credit the claimed coin to the wallet the instant we broadcast the
claim — new wallet.creditReceive() mirrors the instant-payment watcher path
(adds the utxo + pending row, advances the receive index, emits). The generic
'Payment received!' then fires immediately with the right amount, one screen, one
tap. Dropped the LN success card + the suppression logic.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/api.js')
0 files changed, 0 insertions, 0 deletions
