Skip to content

Commit

Permalink
fix global button
Browse files Browse the repository at this point in the history
  • Loading branch information
0xngmi committed Nov 26, 2022
1 parent 2c5644f commit 32a8bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export const addToNetwork = (account, chain, rpc) => {
symbol: chain.nativeCurrency.symbol, // 2-6 characters long
decimals: chain.nativeCurrency.decimals,
},
rpcUrls: rpc ? [rpc] : chain.rpc,
rpcUrls: rpc ? [rpc] : chain.rpc.map(r=>r.url),
blockExplorerUrls: [
chain.explorers && chain.explorers.length > 0 && chain.explorers[0].url
? chain.explorers[0].url
Expand Down

0 comments on commit 32a8bfa

Please sign in to comment.