Remove Ropsten
This commit is contained in:
parent
c902332bc2
commit
b91b36e86b
@ -73,8 +73,6 @@ func init() {
|
||||
BlockChainFactories["Ethereum"] = eth.NewEthereumRPC
|
||||
BlockChainFactories["Ethereum Archive"] = eth.NewEthereumRPC
|
||||
BlockChainFactories["Ethereum Classic"] = eth.NewEthereumRPC
|
||||
BlockChainFactories["Ethereum Testnet Ropsten"] = eth.NewEthereumRPC
|
||||
BlockChainFactories["Ethereum Testnet Ropsten Archive"] = eth.NewEthereumRPC
|
||||
BlockChainFactories["Ethereum Testnet Goerli"] = eth.NewEthereumRPC
|
||||
BlockChainFactories["Ethereum Testnet Goerli Archive"] = eth.NewEthereumRPC
|
||||
BlockChainFactories["Ethereum Testnet Sepolia"] = eth.NewEthereumRPC
|
||||
|
||||
@ -30,8 +30,6 @@ type Network uint32
|
||||
const (
|
||||
// MainNet is production network
|
||||
MainNet Network = 1
|
||||
// TestNet is Ropsten test network
|
||||
TestNet Network = 3
|
||||
// TestNetGoerli is Goerli test network
|
||||
TestNetGoerli Network = 5
|
||||
// TestNetSepolia is Sepolia test network
|
||||
@ -143,9 +141,6 @@ func (b *EthereumRPC) Initialize() error {
|
||||
case MainNet:
|
||||
b.Testnet = false
|
||||
b.Network = "livenet"
|
||||
case TestNet:
|
||||
b.Testnet = true
|
||||
b.Network = "testnet"
|
||||
case TestNetGoerli:
|
||||
b.Testnet = true
|
||||
b.Network = "goerli"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user