aboutsummaryrefslogtreecommitdiffstats
path: root/eth/backend.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2015-03-03 14:22:19 +0800
committerzelig <viktor.tron@gmail.com>2015-03-03 14:22:19 +0800
commit7e224b683457884c3837967c34744c0a0996abd5 (patch)
tree8b417c3833290595c9c2579e1ea0f0bd55aadfcf /eth/backend.go
parent2dc1b7282a7218d637e9964b34afb7afe350279d (diff)
downloadgo-tangerine-7e224b683457884c3837967c34744c0a0996abd5.tar.gz
go-tangerine-7e224b683457884c3837967c34744c0a0996abd5.tar.zst
go-tangerine-7e224b683457884c3837967c34744c0a0996abd5.zip
db name database -> blockchain in backend error message
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 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)
}