core: fix staticcheck warnings (#20323)

This commit is contained in:
Felix Lange
2019-11-20 09:53:01 +01:00
committed by Péter Szilágyi
parent 8008c5b1fa
commit f71e85b8e2
3 changed files with 7 additions and 99 deletions

View File

@ -283,8 +283,7 @@ func makeBlockChain(parent *types.Block, n int, engine consensus.Engine, db ethd
}
type fakeChainReader struct {
config *params.ChainConfig
genesis *types.Block
config *params.ChainConfig
}
// Config returns the chain configuration.