From 8ef73f025f939cff5d0c833e653b891468854bf7 Mon Sep 17 00:00:00 2001 From: Bartosz Rozwarski Date: Thu, 23 Nov 2023 12:34:55 +0100 Subject: [PATCH] fix verify --- Sources/WalletConnectVerify/VerifyClient.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/WalletConnectVerify/VerifyClient.swift b/Sources/WalletConnectVerify/VerifyClient.swift index e528f2b60..855901655 100644 --- a/Sources/WalletConnectVerify/VerifyClient.swift +++ b/Sources/WalletConnectVerify/VerifyClient.swift @@ -34,7 +34,7 @@ public actor VerifyClient: VerifyClientProtocol { } nonisolated public func createVerifyContext(origin: String?, domain: String, isScam: Bool?) -> VerifyContext { - guard isScam == nil else { + guard isScam != true else { return VerifyContext( origin: origin, validation: .scam