mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 11:41:19 +00:00
fix ethash test
This commit is contained in:
parent
807495b6db
commit
ee43dad266
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user