no longer lock the state db
This commit is contained in:
parent
c36f47bbbf
commit
5b6ea41d9d
@ -770,7 +770,7 @@ impl<V> BlockChainClient for Client<V> where V: Verifier {
|
||||
|
||||
// lock the state db while we create the state chunks.
|
||||
let state_hashes = {
|
||||
let state_db = self.state_db.lock().unwrap();
|
||||
let state_db = self.state_db.lock().unwrap().boxed_clone();
|
||||
chunk_state(state_db.as_hashdb(), &state_root, &path).unwrap()
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user