This commit is contained in:
arkpar
2016-11-27 18:26:23 +01:00
parent d0c80a6903
commit c7b359fcee
3 changed files with 8 additions and 11 deletions

View File

@@ -173,7 +173,6 @@ impl Client {
};
let trie_factory = TrieFactory::new(trie_spec);
let journal_db = journaldb::new(db.clone(), config.pruning, ::db::COL_STATE);
let mut state_db = StateDB::new(journal_db, config.state_cache_size);
if state_db.journal_db().is_empty() && try!(spec.ensure_db_good(&mut state_db, &trie_factory)) {