Merge branch 'master' into sync_v2

This commit is contained in:
Svyatoslav Nikolsky 2016-12-26 09:53:21 +03:00
commit f69c79f5db
1 changed files with 1 additions and 0 deletions

View File

@ -646,6 +646,7 @@ impl BlockStapler for Storage {
}
try!(context.apply(&self.database));
try!(self.database.flush());
trace!(target: "db", "Best block now ({}, {})", &new_best_hash.to_reversed_str(), &new_best_number);
// updating locked best block
*best_block = Some(BestBlock { hash: new_best_hash, number: new_best_number });