diff --git a/eth/backend.go b/eth/backend.go index 81d84028a5..ba3381fce7 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -57,10 +57,6 @@ import ( "github.com/ethereum/go-ethereum/rpc" ) -// Config contains the configuration options of the ETH protocol. -// Deprecated: use ethconfig.Config instead. -type Config = ethconfig.Config - // Ethereum implements the Ethereum full node service. type Ethereum struct { config *ethconfig.Config diff --git a/ethclient/simulated/backend.go b/ethclient/simulated/backend.go index 0c2a0b453c..6602e9e484 100644 --- a/ethclient/simulated/backend.go +++ b/ethclient/simulated/backend.go @@ -104,7 +104,7 @@ func NewBackend(alloc types.GenesisAlloc, options ...func(nodeConf *node.Config, // newWithNode sets up a simulated backend on an existing node. The provided node // must not be started and will be started by this method. -func newWithNode(stack *node.Node, conf *eth.Config, blockPeriod uint64) (*Backend, error) { +func newWithNode(stack *node.Node, conf *ethconfig.Config, blockPeriod uint64) (*Backend, error) { backend, err := eth.New(stack, conf) if err != nil { return nil, err