fix: disable Goerli in the OpenSea client
This commit is contained in:
parent
9aef13f83e
commit
1924828f8d
|
@ -22,7 +22,7 @@ func getV2BaseURL(chainID walletCommon.ChainID) (string, error) {
|
|||
switch uint64(chainID) {
|
||||
case walletCommon.EthereumMainnet, walletCommon.ArbitrumMainnet, walletCommon.OptimismMainnet:
|
||||
return "https://api.opensea.io/v2", nil
|
||||
case walletCommon.EthereumGoerli, walletCommon.EthereumSepolia, walletCommon.ArbitrumSepolia, walletCommon.OptimismSepolia:
|
||||
case walletCommon.EthereumSepolia, walletCommon.ArbitrumSepolia, walletCommon.OptimismSepolia:
|
||||
return "https://testnets-api.opensea.io/v2", nil
|
||||
}
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@ const (
|
|||
ethereumMainnetString = "ethereum"
|
||||
arbitrumMainnetString = "arbitrum"
|
||||
optimismMainnetString = "optimism"
|
||||
ethereumGoerliString = "goerli"
|
||||
ethereumSepoliaString = "sepolia"
|
||||
arbitrumSepoliaString = "arbitrum_sepolia"
|
||||
optimismSepoliaString = "optimism_sepolia"
|
||||
|
@ -37,8 +36,6 @@ func chainIDToChainString(chainID walletCommon.ChainID) string {
|
|||
chainString = arbitrumMainnetString
|
||||
case walletCommon.OptimismMainnet:
|
||||
chainString = optimismMainnetString
|
||||
case walletCommon.EthereumGoerli:
|
||||
chainString = ethereumGoerliString
|
||||
case walletCommon.EthereumSepolia:
|
||||
chainString = ethereumSepoliaString
|
||||
case walletCommon.ArbitrumSepolia:
|
||||
|
|
Loading…
Reference in New Issue