mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 22:11:06 +00:00
Fix state-db pinning (#12927)
* Pin all canonicalized blocks * Added a test * Docs
This commit is contained in:
@@ -2002,6 +2002,7 @@ impl<Block: BlockT> sc_client_api::backend::Backend<Block> for Backend<Block> {
|
||||
.map_err(sp_blockchain::Error::from_state_db)?;
|
||||
Err(e)
|
||||
} else {
|
||||
self.storage.state_db.sync();
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user