Drain the transaction overlay (#11654)
This commit is contained in:
parent
f9633e69fe
commit
114074c939
@ -435,6 +435,12 @@ impl StateRebuilder {
|
||||
}
|
||||
}
|
||||
|
||||
let backing = self.db.backing().clone();
|
||||
let mut batch = backing.transaction();
|
||||
// Drain the transaction overlay and put the data into the batch.
|
||||
self.db.inject(&mut batch)?;
|
||||
backing.write_buffered(batch);
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user