aboutsummaryrefslogtreecommitdiffstats
path: root/eth
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
parent988391fc37d54f8ca4e49a03bf5f6b240a3dfa33 (diff)
parent7e224b683457884c3837967c34744c0a0996abd5 (diff)
downloadgo-tangerine-253eb778d19af9204c9dd65e3963bd63f3bab6f0.tar
go-tangerine-253eb778d19af9204c9dd65e3963bd63f3bab6f0.tar.gz
go-tangerine-253eb778d19af9204c9dd65e3963bd63f3bab6f0.tar.bz2
go-tangerine-253eb778d19af9204c9dd65e3963bd63f3bab6f0.tar.lz
go-tangerine-253eb778d19af9204c9dd65e3963bd63f3bab6f0.tar.xz
go-tangerine-253eb778d19af9204c9dd65e3963bd63f3bab6f0.tar.zst
go-tangerine-253eb778d19af9204c9dd65e3963bd63f3bab6f0.zip
Merge pull request #411 from ethersphere/readme
[WIP] Update Readme
Diffstat (limited to 'eth')
-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)
}