Fix relay compile issue

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin authored and Daniel D’Aquino committed 2025-08-11 16:40:01 -07:00
1 parent 28a06af534
commit 475940aa01
7 files changed
+17 -16

No files matched your search

+2 -1
View File
@@ -169,7 +169,8 @@ class Bech32ObjectTests: XCTestCase {
}
func testTLVEncoding_NeventFromNostrEvent_ValidContent() throws {
let relays = ["wss://relay.damus.io", "wss://relay.nostr.band"]
let relay_strings = ["wss://relay.damus.io", "wss://relay.nostr.band"]
let relays = relay_strings.map({ RelayURL($0)! })
let nevent = NEvent(event: test_note, relays: relays)
XCTAssertEqual(nevent.noteid, test_note.id)