Commit best block after closing transaction (#1791)
This commit is contained in:
committed by
Gav Wood
parent
b26f8c3f33
commit
d891e80ad7
@@ -452,6 +452,7 @@ impl Client {
|
||||
});
|
||||
// Final commit to the DB
|
||||
self.db.write(batch).expect("State DB write failed.");
|
||||
self.chain.commit();
|
||||
|
||||
self.update_last_hashes(&parent, hash);
|
||||
route
|
||||
|
||||
Reference in New Issue
Block a user