aboutsummaryrefslogtreecommitdiffstats
path: root/lib/lightning.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-17 22:32:03 -0700
committerAdam Soltys <[email protected]>2026-08-17 22:32:03 -0700
commitf385ae87f7b65ef2e2cc7caaedc78170c6c99392 (patch)
tree55d4601221946f36bf6c90889d45caa70ef365b6 /lib/lightning.ts
parentf242dd2b9376505e354b5f270c910e1fb0a173c4 (diff)
downloadcoinos-server-f385ae87f7b65ef2e2cc7caaedc78170c6c99392.tar.gz
coinos-server-f385ae87f7b65ef2e2cc7caaedc78170c6c99392.zip
nwc: reply UNAUTHORIZED on unknown connection instead of returning silently
A NIP-47 request whose pubkey/user no longer exists (deleted app or migrated user) was silently dropped, leaving the client spinning. Send an UNAUTHORIZED error reply so the client can surface it. Still not logged (not a server fault). Co-Authored-By: Claude Opus 4.8 <[email protected]>
Diffstat (limited to 'lib/lightning.ts')
0 files changed, 0 insertions, 0 deletions