fix ethash test

This commit is contained in:
Igor Mandrigin 2021-03-18 12:32:18 +01:00
parent 807495b6db
commit ee43dad266

View File

@ -88,9 +88,8 @@ func verifyTest(wg *sync.WaitGroup, e *Ethash, workerIndex, epochs int) {
block = 0
}
header := &types.Header{Number: big.NewInt(block), Difficulty: big.NewInt(100)}
if err := e.verifySeal(nil, header, false); err != nil {
panic(err)
}
// we expect an error there sometimes
e.verifySeal(nil, header, false) //nolint:errcheck
}
}