diff options
| author | Adam Soltys <[email protected]> | 2026-12-03 21:38:31 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-12-03 21:38:31 -0700 |
| commit | 9f55be849bbac1aa5071fa5a93289fda6fe08e08 (patch) | |
| tree | 6fa201dfd44529ab087bd1e2597aae4f94e42843 /src/cordn-client.js | |
| parent | 882045fac8a47d4e7a8592c3c287a0570a7eedf0 (diff) | |
| download | coinosv3-9f55be849bbac1aa5071fa5a93289fda6fe08e08.tar.gz coinosv3-9f55be849bbac1aa5071fa5a93289fda6fe08e08.zip | |
A Lightning address the browser can't fetch (speed.app) is fetched through the registrar.
"another thing is coinos cannot reach speed.app wallet, not sure why" (Shark, relayed by Adam 2026-12-04). speed.app answers /.well-known/lnurlp/<name> with a 301 to appapi.tryspeed.com that has no Access-Control-Allow-Origin, and a browser won't follow a cross-origin redirect without one, so paying any @speed.app address said "couldn't reach speed.app". When the browser can't reach a Lightning address's host at all (fetch throws), the wallet now asks names.coinos.io/lnurlp-fetch (coinosv3-server, live) for the same address and carries on with its pay parameters; speed's invoice callback itself allows any origin, so the payment completes from the browser. A host's own error isn't retried elsewhere, other lnurl paths aren't sent to the registrar, and if the registrar can't reach it either the original "couldn't reach <host>" stands. New lnurl-cors-fallback-test passes; lnurl-withdraw and features-smoke pass.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6WoqaQDYdpWkatPCar
Diffstat (limited to 'src/cordn-client.js')
0 files changed, 0 insertions, 0 deletions
