diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-04-20 19:14:13 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-04-20 19:14:13 +0800 |
commit | edef84da2b09622acffbe1785a0f53d845d31b3b (patch) | |
tree | dcafaa3946163fde1f44e84ce4eaed53b92c230c /core/genesis.go | |
parent | e353f9c0886f0cc13fd01c8b3abf2fa63025c62f (diff) | |
download | dexon-edef84da2b09622acffbe1785a0f53d845d31b3b.tar.gz dexon-edef84da2b09622acffbe1785a0f53d845d31b3b.tar.zst dexon-edef84da2b09622acffbe1785a0f53d845d31b3b.zip |
core: make genesis incompatibility error more explicit
Diffstat (limited to 'core/genesis.go')
-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. |