forked from cerc-io/plugeth
Merge pull request #87 from openrelayxyz/bugifx/engine-wrapper-dummyseals
Fixed a patch in the engine wrapper.
This commit is contained in:
commit
3993f2f870
@ -381,7 +381,7 @@ func (ew *engineWrapper) VerifyHeaders(chain consensus.ChainHeaderReader, header
|
|||||||
for i, header := range headers {
|
for i, header := range headers {
|
||||||
pheaders[i] = gethToUtilsHeader(header)
|
pheaders[i] = gethToUtilsHeader(header)
|
||||||
}
|
}
|
||||||
dummySeals := []bool{false, false}
|
dummySeals := make([]bool, len(headers))
|
||||||
return ew.engine.VerifyHeaders(&WrappedHeaderReader{chain, nil}, pheaders, dummySeals)
|
return ew.engine.VerifyHeaders(&WrappedHeaderReader{chain, nil}, pheaders, dummySeals)
|
||||||
}
|
}
|
||||||
func (ew *engineWrapper) VerifyUncles(chain consensus.ChainReader, block *types.Block) error {
|
func (ew *engineWrapper) VerifyUncles(chain consensus.ChainReader, block *types.Block) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user