diff options
author | gary rong <garyrong0905@gmail.com> | 2019-01-11 19:49:12 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2019-01-11 19:49:12 +0800 |
commit | d5cad488be0069d768b358b2267cd5432b0f9a43 (patch) | |
tree | 07272f630b6486c7458c789b58bd75ff20c5480a /core/blockchain.go | |
parent | 2eb838ed9776c9c3ec922e1116a5d50babda31c5 (diff) | |
download | dexon-d5cad488be0069d768b358b2267cd5432b0f9a43.tar dexon-d5cad488be0069d768b358b2267cd5432b0f9a43.tar.gz dexon-d5cad488be0069d768b358b2267cd5432b0f9a43.tar.bz2 dexon-d5cad488be0069d768b358b2267cd5432b0f9a43.tar.lz dexon-d5cad488be0069d768b358b2267cd5432b0f9a43.tar.xz dexon-d5cad488be0069d768b358b2267cd5432b0f9a43.tar.zst dexon-d5cad488be0069d768b358b2267cd5432b0f9a43.zip |
core, eth: fix database version (#18429)
* core, eth: fix database version
* eth: polish error message
Diffstat (limited to 'core/blockchain.go')
-rw-r--r-- | core/blockchain.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/blockchain.go b/core/blockchain.go index c29063a73..49aedf669 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -65,7 +65,7 @@ const ( triesInMemory = 128 // BlockChainVersion ensures that an incompatible database forces a resync from scratch. - BlockChainVersion = 3 + BlockChainVersion uint64 = 3 ) // CacheConfig contains the configuration values for the trie caching/pruning |