From 921a4c9c1f558ec1c2a3b57c62b2370acc95e456 Mon Sep 17 00:00:00 2001 From: ginesdt Date: Wed, 26 Jun 2024 13:23:25 +0200 Subject: [PATCH] use http transport for signature verification --- src/streamtide/server/graphql/authorization.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/streamtide/server/graphql/authorization.cljs b/src/streamtide/server/graphql/authorization.cljs index 9553d42..132442f 100644 --- a/src/streamtide/server/graphql/authorization.cljs +++ b/src/streamtide/server/graphql/authorization.cljs @@ -20,7 +20,7 @@ (safe-go (let [siwe-message (new (.-SiweMessage siwe) (clj->js (transform-keys csk/->camelCase payload))) message (.toMessage siwe-message) - public-client (.createPublicClient viem #js {:transport (new (.-webSocket viem) (-> @config/config :web3 :url))}) + public-client (.createPublicClient viem #js {:transport (new (.-http viem) (-> @config/config :siwe :url))}) isValid (