diff options
| author | Adam Soltys <[email protected]> | 2026-08-01 23:08:02 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-01 23:08:02 -0700 |
| commit | babac497c1f44892b646b30be4d3ad035b461386 (patch) | |
| tree | 2ce0adabbdc625edfd5086de35e041af9fbfb5ba /src/features/nwc.js | |
| parent | 83ad00a39863bb6a61e15977202fe2feea2ca696 (diff) | |
| download | coinosv3-babac497c1f44892b646b30be4d3ad035b461386.tar.gz coinosv3-babac497c1f44892b646b30be4d3ad035b461386.zip | |
Fix bunker (NIP-46) login: the pointer goes through fromBunker
nostr-tools' BunkerSigner constructor takes (clientSecretKey, params) —
passing the bunker pointer as the second argument left the signer with
no pointer at all, so connecting died on "reading 'pubkey'" before any
network call. Use the static fromBunker, and reject an address that
lists no relays with something a human can act on. Covered by a test
using a real Amethyst-issued address.
Co-Authored-By: Claude Fable 5 <[email protected]>
Diffstat (limited to 'src/features/nwc.js')
0 files changed, 0 insertions, 0 deletions
