Merge pull request #411 from ethersphere/readme

[WIP] Update Readme
This commit is contained in:
Jeffrey Wilcke
2015-03-03 20:17:51 +01:00
5 changed files with 48 additions and 132 deletions

View File

@ -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)
}