mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
consensus/ethash: update error message
This commit is contained in:
parent
dc052a1264
commit
1448b9559e
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ var (
|
||||||
// codebase, inherently breaking if the engine is swapped out. Please put common
|
// codebase, inherently breaking if the engine is swapped out. Please put common
|
||||||
// error types into the consensus package.
|
// error types into the consensus package.
|
||||||
var (
|
var (
|
||||||
errOlderBlockTime = errors.New("header timestamp is older or same as parent's")
|
errOlderBlockTime = errors.New("timestamp older than parent")
|
||||||
errTooManyUncles = errors.New("too many uncles")
|
errTooManyUncles = errors.New("too many uncles")
|
||||||
errDuplicateUncle = errors.New("duplicate uncle")
|
errDuplicateUncle = errors.New("duplicate uncle")
|
||||||
errUncleIsAncestor = errors.New("uncle is ancestor")
|
errUncleIsAncestor = errors.New("uncle is ancestor")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue