mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 19:50:36 +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
|
block = 0
|
||||||
}
|
}
|
||||||
header := &types.Header{Number: big.NewInt(block), Difficulty: big.NewInt(100)}
|
header := &types.Header{Number: big.NewInt(block), Difficulty: big.NewInt(100)}
|
||||||
if err := e.verifySeal(nil, header, false); err != nil {
|
// we expect an error there sometimes
|
||||||
panic(err)
|
e.verifySeal(nil, header, false) //nolint:errcheck
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user