Fix relay compile issue

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2024-04-04 20:47:25 +01:00
committed by Daniel D’Aquino
parent 28a06af534
commit 475940aa01
7 changed files with 17 additions and 16 deletions

View File

@@ -28,7 +28,7 @@ struct NEvent : Equatable, Hashable {
self.kind = kind
}
init(event: NostrEvent, relays: [String]) {
init(event: NostrEvent, relays: [RelayURL]) {
self.init(noteid: event.id, relays: relays, author: event.pubkey, kind: event.kind)
}
}