From 72b60573de81aef65fc5730af3b93a1da5f73147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=E2=80=98Aquino?= Date: Thu, 3 Aug 2023 03:38:27 +0000 Subject: [PATCH] Fix compilation error on test target in UserSearchCacheTests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changelog-Fixed: Fix compilation error on test target in UserSearchCacheTests Signed-off-by: Daniel D‘Aquino Signed-off-by: William Casarin --- damusTests/UserSearchCacheTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damusTests/UserSearchCacheTests.swift b/damusTests/UserSearchCacheTests.swift index da548a7c..6c165ca5 100644 --- a/damusTests/UserSearchCacheTests.swift +++ b/damusTests/UserSearchCacheTests.swift @@ -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)! } }