diff options
| author | Adam Soltys <[email protected]> | 2026-03-18 01:34:41 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-03-18 01:34:41 -0700 |
| commit | f677540cf8548a03fb354536ec70b6186e812eae (patch) | |
| tree | a3e5f77ea4edf9f3530c5420c355b419a8ec82c3 /lib/nostr.ts | |
| parent | 92e7d1564deb25f9e58e3b268c077018c4b2c4c4 (diff) | |
| download | coinos-server-f677540cf8548a03fb354536ec70b6186e812eae.tar.gz coinos-server-f677540cf8548a03fb354536ec70b6186e812eae.zip | |
stop republishing primal events
Diffstat (limited to 'lib/nostr.ts')
| -rw-r--r-- | lib/nostr.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/nostr.ts b/lib/nostr.ts index 06de5701..064e1952 100644 --- a/lib/nostr.ts +++ b/lib/nostr.ts @@ -10,7 +10,6 @@ import { AbstractSimplePool } from "nostr-tools/abstract-pool"; import { Relay } from "nostr-tools/relay"; export const EX = 60 * 60 * 24; -const coinos = await Relay.connect(config.nostr); export const serverSecret = bytesToHex( nip19.decode(config.nostrKey).data as Uint8Array, @@ -234,7 +233,6 @@ export const q = async (f) => { pool.subscribeMany(["wss://relay.primal.net"], [f], { onevent(e) { r.push(e); - coinos.publish(e); }, oneose() { resolve(r); |
