@ -141,10 +141,6 @@ func (a Stub) Config() *params.ChainConfig {
return nil
}
func (a Stub) Engine() engine.Engine {
func (a Stub) SubscribeRemovedLogsEvent(ch chan<- RemovedLogsEvent) event.Subscription {
@ -128,7 +128,7 @@ func (bc *EpochChain) InsertChain(blocks types.Blocks, _ bool) (int, error) {
// Signature validation.
err = bc.Engine().VerifyHeaderSignature(bc, block.Header(), sig, bitmap)
err = chain.Engine().VerifyHeaderSignature(bc, block.Header(), sig, bitmap)
if err != nil {
return i, errors.Wrap(err, "failed signature validation")