From 6ac81f5852e72ebe03aa2775e1b328d5bd256b40 Mon Sep 17 00:00:00 2001 From: Shubham Parkhi Date: Mon, 23 Sep 2024 17:30:57 +0530 Subject: [PATCH] fix: connect snap locally --- packages/site/src/utils/snap.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/site/src/utils/snap.ts b/packages/site/src/utils/snap.ts index 42f4d65..002c908 100644 --- a/packages/site/src/utils/snap.ts +++ b/packages/site/src/utils/snap.ts @@ -26,7 +26,7 @@ export const connectSnap = async ( await window.ethereum.request({ method: 'wallet_requestSnaps', params: { - [snapId]: params, + 'local:http://localhost:8080': {}, }, }); };