diff options
| author | Adam Soltys <[email protected]> | 2026-08-04 11:56:26 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-04 11:56:26 -0700 |
| commit | e35c0af04fafd6e069d0d1e67664bcaed8c9c671 (patch) | |
| tree | f6b1630a3d68309b72039f8ce00ac348d9803bdd /lib/app.ts | |
| parent | 103001c49da84f9cd6b6d8c6eb682550442dc8e5 (diff) | |
| download | coinos-server-e35c0af04fafd6e069d0d1e67664bcaed8c9c671.tar.gz coinos-server-e35c0af04fafd6e069d0d1e67664bcaed8c9c671.zip | |
lnurl: serve local accounts directly instead of deferring to v3 registrar
A recent change made this coinos.io lnurlp endpoint defer any
migrated-flagged account to the v3 names registrar and 404 when the
registrar didn't have the name. But registration stamps that flag on
essentially every account and never syncs names to the registrar, so
this broke lightning-address resolution for nearly all accounts.
The v3 registrar is the front for v3 accounts and falls back to this
endpoint, so this endpoint is the fallback target: it must serve its own
accounts directly and must not defer back (which also avoids a loop once
the registrar's fallback is live). Serve the local account; 404 only when
no local account exists.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Dpqu6wizYe1c1g4k5Gd8JK
Diffstat (limited to 'lib/app.ts')
0 files changed, 0 insertions, 0 deletions
