diff options
author | zelig <viktor.tron@gmail.com> | 2015-03-03 14:22:19 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-03-03 14:22:19 +0800 |
commit | 7e224b683457884c3837967c34744c0a0996abd5 (patch) | |
tree | 8b417c3833290595c9c2579e1ea0f0bd55aadfcf | |
parent | 2dc1b7282a7218d637e9964b34afb7afe350279d (diff) | |
download | dexon-7e224b683457884c3837967c34744c0a0996abd5.tar.gz dexon-7e224b683457884c3837967c34744c0a0996abd5.tar.zst dexon-7e224b683457884c3837967c34744c0a0996abd5.zip |
db name database -> blockchain in backend error message
-rw-r--r-- | eth/backend.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go index f67f9c78b..b79f6fc30 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -147,7 +147,7 @@ func New(config *Config) (*Ethereum, error) { d, _ := db.Get([]byte("ProtocolVersion")) protov := ethutil.NewValue(d).Uint() if protov != ProtocolVersion && protov != 0 { - path := path.Join(config.DataDir, "database") + path := path.Join(config.DataDir, "blockchain") return nil, fmt.Errorf("Database version mismatch. Protocol(%d / %d). `rm -rf %s`", protov, ProtocolVersion, path) } |