From a5173ef54dcb9b539a852ce36a1c23fbf90c7611 Mon Sep 17 00:00:00 2001 From: Seth Date: Tue, 19 Dec 2023 11:04:36 +0800 Subject: [PATCH] fix(app): change provider order --- packages/app/src/utils/wagmi-provider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app/src/utils/wagmi-provider.tsx b/packages/app/src/utils/wagmi-provider.tsx index 46e2fd9..3a9991d 100644 --- a/packages/app/src/utils/wagmi-provider.tsx +++ b/packages/app/src/utils/wagmi-provider.tsx @@ -18,8 +18,8 @@ const defaultChains = { const { chains, provider, webSocketProvider } = configureChains( getDefaultChains(defaultChains), [ - infuraProvider({ apiKey: process.env.NEXT_PUBLIC_INFURA_API_KEY!, priority: 0 }), alchemyProvider({ apiKey: process.env.NEXT_PUBLIC_ALCHEMY_API_KEY!, priority: 1 }), + infuraProvider({ apiKey: process.env.NEXT_PUBLIC_INFURA_API_KEY!, priority: 0 }), publicProvider({ priority: 2 }), ], { stallTimeout: 1000 }