mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
core: make genesis incompatibility error more explicit
This commit is contained in:
parent
e353f9c088
commit
edef84da2b
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue