Format the code example regarding relay connections

This commit is contained in:
Wilson Silva 2023-02-15 17:24:55 +07:00
parent 1a884ea7b7
commit e6e4f576e3
No known key found for this signature in database
GPG Key ID: 65135F94E23F82C8

View File

@ -54,7 +54,7 @@ You may instantiate multiple Clients and multiple Relays.
```ruby
client = Nostr::Client.new
relay = Nostr::Relay.new(url: 'wss://relay.damus.io', name: 'Damus')
relay = Nostr::Relay.new(url: 'wss://relay.damus.io', name: 'Damus')
client.connect(relay)
```