diff options
| author | Adam Soltys <[email protected]> | 2026-08-13 23:22:17 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-13 23:22:17 -0700 |
| commit | 3104c93cece2104457d672aef59da2327659de4b (patch) | |
| tree | f2687aa8366654034bcd72fd9b9ced78b2a1c401 /tools | |
| parent | b3b820b6cbfc5a280fb795d59315480eae53b0ce (diff) | |
| download | coinosv3-3104c93cece2104457d672aef59da2327659de4b.tar.gz coinosv3-3104c93cece2104457d672aef59da2327659de4b.zip | |
Answering while closed becomes the default: a new connection asks once, and anywhere permission is already granted it arms itself — only an explicit Off is honored forever
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014tE4U5nEjGTQy8PwYqamfv
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/nwc-test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/nwc-test.js b/tools/nwc-test.js index d1d0cbc..379df6c 100644 --- a/tools/nwc-test.js +++ b/tools/nwc-test.js @@ -3,8 +3,8 @@ // encrypted 23194 // requests in, encrypted 23195 responses out, both nip04 and nip44. import { hex } from '@scure/base'; -import { nwcFeature } from '/home/adam/halwallet/src/features/nwc.js'; -import { nip04, nip44, getPublicKey, finalizeEvent, generateSecretKey } from '/home/adam/halwallet/src/nostr.js'; +import { nwcFeature } from '../src/features/nwc.js'; +import { nip04, nip44, getPublicKey, finalizeEvent, generateSecretKey } from '../src/nostr.js'; let ok = true; const check = (n, c, d='') => { console.log(` ${c?'✓':'✗'} ${n}${d?' — '+d:''}`); if(!c) ok=false; }; |
