Skip to content

Commit

Permalink
reverse rpc fallback order
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Dec 8, 2024
1 parent 3408257 commit e917676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nextjs/services/web3/wagmiConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const wagmiConfig = createConfig({
ssr: true,
client({ chain }) {
const alchemyHttpUrl = getAlchemyHttpUrl(chain.id);
const rpcFallbacks = alchemyHttpUrl ? [http(), http(alchemyHttpUrl)] : [http()];
const rpcFallbacks = alchemyHttpUrl ? [http(alchemyHttpUrl), http()] : [http()];

return createClient({
chain,
Expand Down

0 comments on commit e917676

Please sign in to comment.