replace test relays.

This commit is contained in:
fiatjaf
2023-03-02 08:24:50 -03:00
parent 0970eee70f
commit 8622bd11dd
2 changed files with 4 additions and 4 deletions

View File

@@ -12,17 +12,17 @@ const {
let pool = new SimplePool() let pool = new SimplePool()
let relays = [ let relays = [
'wss://nostr-dev.wellorder.net/', 'wss://relay.damus.io/',
'wss://relay.nostr.bg/', 'wss://relay.nostr.bg/',
'wss://nostr.fmt.wiz.biz/', 'wss://nostr.fmt.wiz.biz/',
'wss://relay.nostr.band/', 'wss://relay.nostr.band/',
'wss://nostr.zebedee.cloud/' 'wss://nos.lol/'
] ]
afterAll(() => { afterAll(() => {
pool.close([ pool.close([
...relays, ...relays,
'wss://nostr-relay.untethr.me', 'wss://nostr.wine',
'wss://offchain.pub', 'wss://offchain.pub',
'wss://eden.nostr.land' 'wss://eden.nostr.land'
]) ])

View File

@@ -9,7 +9,7 @@ const {
signEvent signEvent
} = require('./lib/nostr.cjs') } = require('./lib/nostr.cjs')
let relay = relayInit('wss://nostr-dev.wellorder.net/') let relay = relayInit('wss://relay.damus.io/')
beforeAll(() => { beforeAll(() => {
relay.connect() relay.connect()