aboutsummaryrefslogtreecommitdiffstats
path: root/eth/backend.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-03-04 03:17:51 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-03-04 03:17:51 +0800
commit253eb778d19af9204c9dd65e3963bd63f3bab6f0 (patch)
tree0f2278efcbc90bb3097f8210a70d706760281e6d /eth/backend.go
parent988391fc37d54f8ca4e49a03bf5f6b240a3dfa33 (diff)
parent7e224b683457884c3837967c34744c0a0996abd5 (diff)
downloaddexon-253eb778d19af9204c9dd65e3963bd63f3bab6f0.tar
dexon-253eb778d19af9204c9dd65e3963bd63f3bab6f0.tar.gz
dexon-253eb778d19af9204c9dd65e3963bd63f3bab6f0.tar.bz2
dexon-253eb778d19af9204c9dd65e3963bd63f3bab6f0.tar.lz
dexon-253eb778d19af9204c9dd65e3963bd63f3bab6f0.tar.xz
dexon-253eb778d19af9204c9dd65e3963bd63f3bab6f0.tar.zst
dexon-253eb778d19af9204c9dd65e3963bd63f3bab6f0.zip
Merge pull request #411 from ethersphere/readme
[WIP] Update Readme
Diffstat (limited to 'eth/backend.go')
-rw-r--r--eth/backend.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go
index e7eae99af..efdd43bf5 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -146,7 +146,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)
}