Merge branch 'master' into sync_v2
This commit is contained in:
commit
f69c79f5db
|
@ -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 });
|
||||
|
|
Loading…
Reference in New Issue