1
0
mirror of git://jb55.com/damus synced 2024-09-05 21:03:51 +00:00

Fix compilation error on test target in UserSearchCacheTests

Changelog-Fixed: Fix compilation error on test target in UserSearchCacheTests
Signed-off-by: Daniel D‘Aquino <daniel@daquino.me>
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
Daniel D‘Aquino 2023-08-03 03:38:27 +00:00 committed by William Casarin
parent 6e6c1eb7b6
commit 72b60573de

View File

@ -131,7 +131,7 @@ final class UserSearchCacheTests: XCTestCase {
["p", $0.element.key, "", $0.element.value]
}
return NostrEvent(content: relayJson, keypair: keypair, kind: NostrKind.contacts.rawValue, tags: tags)!
return NostrEvent(content: relayJson, keypair: keypair.to_keypair(), kind: NostrKind.contacts.rawValue, tags: tags)!
}
}