consensus/clique: add fork hash enforcement (#15236)

This commit is contained in:
Péter Szilágyi
2017-10-10 11:54:47 +03:00
committed by Felix Lange
parent 40a3856af9
commit d3beff7e20
2 changed files with 6 additions and 1 deletions

View File

@@ -74,7 +74,7 @@ type testerChainReader struct {
db ethdb.Database
}
func (r *testerChainReader) Config() *params.ChainConfig { panic("not supported") }
func (r *testerChainReader) Config() *params.ChainConfig { return params.AllProtocolChanges }
func (r *testerChainReader) CurrentHeader() *types.Header { panic("not supported") }
func (r *testerChainReader) GetHeader(common.Hash, uint64) *types.Header { panic("not supported") }
func (r *testerChainReader) GetBlock(common.Hash, uint64) *types.Block { panic("not supported") }