Merge pull request #5867 from guanqun/small-fixes

ArchiveDB and other small fixes
This commit is contained in:
Robert Habermeier
2017-06-19 14:03:48 +02:00
committed by GitHub
3 changed files with 17 additions and 1 deletions

View File

@@ -477,7 +477,7 @@ mod tests {
let mut batch = DBTransaction::new();
// blocks [ 3a(c) 2a(c) 2b 1b 1a(c) 0 ]
// balance [ 5 5 4 3 2 2 ]
// balance [ 5 5 4 3 2 2 ]
let mut s = state_db.boxed_clone_canon(&root_parent);
s.add_to_account_cache(address, Some(Account::new_basic(2.into(), 0.into())), false);
s.journal_under(&mut batch, 0, &h0).unwrap();