Skip to content

Commit

Permalink
fix ensureRelay
Browse files Browse the repository at this point in the history
  • Loading branch information
syusui-s authored and fiatjaf committed Dec 21, 2023
1 parent a9acdad commit ef12a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export class SimplePool {
if (params?.connectionTimeout) relay.connectionTimeout = params.connectionTimeout
if (this.trustedRelayURLs.has(relay.url)) relay.trusted = true
this.relays.set(url, relay)
await relay.connect()
}
await relay.connect()

return relay
}
Expand Down

0 comments on commit ef12a45

Please sign in to comment.