mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-12 02:54:09 +00:00
Merge pull request #248 from gnosis/124-web3connect-new
Hotfix: Mainnet url for infura
This commit is contained in:
commit
ce50943a7e
@ -59,7 +59,7 @@ export const getEtherScanLink = (type: 'address' | 'tx', value: string) => {
|
||||
const getInfuraUrl = () => {
|
||||
const isMainnet = process.env.REACT_APP_NETWORK === 'mainnet'
|
||||
|
||||
return `https://${isMainnet ? '' : 'rinkeby.'}infura.io:443/v3/${process.env.REACT_APP_INFURA_TOKEN}`
|
||||
return `https://${isMainnet ? 'mainnet' : 'rinkeby'}.infura.io:443/v3/${process.env.REACT_APP_INFURA_TOKEN}`
|
||||
}
|
||||
|
||||
// With some wallets from web3connect you have to use their provider instance only for signing
|
||||
|
Loading…
x
Reference in New Issue
Block a user