Commit 9fc90b67 authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub

Merge pull request #14358 from karalabe/wrong-genesis-description

core: make genesis incompatibility error more explicit
parents e353f9c0 edef84da
......@@ -86,7 +86,7 @@ type GenesisMismatchError struct {
}
func (e *GenesisMismatchError) Error() string {
return fmt.Sprintf("wrong genesis block in database (have %x, new %x)", e.Stored[:8], e.New[:8])
return fmt.Sprintf("database already contains an incompatible genesis block (have %x, new %x)", e.Stored[:8], e.New[:8])
}
// SetupGenesisBlock writes or updates the genesis block in db.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment