eth: remove todo

This commit is contained in:
rjl493456442 2019-04-18 20:24:41 +08:00
parent 4b9ac7268e
commit 9e9062b99a

View file

@ -194,7 +194,6 @@ func New(ctx *node.ServiceContext, config *Config) (*Ethereum, error) {
return nil, err
}
// todo(rjl493456442) wrap all setting into a single config struct
eth.miner = miner.New(eth, &config.Miner, chainConfig, eth.EventMux(), eth.engine, eth.isLocalBlock)
eth.miner.SetExtra(makeExtraData(config.Miner.ExtraData))