Fix crash when adding relays
Changelog-Fixed: Fix crash when adding relays
This commit is contained in:
@@ -190,6 +190,6 @@ class RelayPool {
|
||||
|
||||
func add_rw_relay(_ pool: RelayPool, _ url: String) {
|
||||
let url_ = URL(string: url)!
|
||||
try! pool.add_relay(url_, info: RelayInfo.rw)
|
||||
try? pool.add_relay(url_, info: RelayInfo.rw)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user