diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-04-20 20:17:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-20 20:17:59 +0800 |
commit | 9fc90b6747c4eada258071cf65bebb6afd991a1c (patch) | |
tree | dcafaa3946163fde1f44e84ce4eaed53b92c230c | |
parent | e353f9c0886f0cc13fd01c8b3abf2fa63025c62f (diff) | |
parent | edef84da2b09622acffbe1785a0f53d845d31b3b (diff) | |
download | go-tangerine-9fc90b6747c4eada258071cf65bebb6afd991a1c.tar go-tangerine-9fc90b6747c4eada258071cf65bebb6afd991a1c.tar.gz go-tangerine-9fc90b6747c4eada258071cf65bebb6afd991a1c.tar.bz2 go-tangerine-9fc90b6747c4eada258071cf65bebb6afd991a1c.tar.lz go-tangerine-9fc90b6747c4eada258071cf65bebb6afd991a1c.tar.xz go-tangerine-9fc90b6747c4eada258071cf65bebb6afd991a1c.tar.zst go-tangerine-9fc90b6747c4eada258071cf65bebb6afd991a1c.zip |
Merge pull request #14358 from karalabe/wrong-genesis-description
core: make genesis incompatibility error more explicit
-rw-r--r-- | core/genesis.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/genesis.go b/core/genesis.go index 883cea2fd..b65020d32 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -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. |