mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-26 21:49:49 +00:00
ensure early drop of proof memory. (#500)
This commit is contained in:
1 parent
c6edbdb119
commit
5e8933fbca
1 file changed
+1
@@ -79,6 +79,7 @@ where
|
||||
Ok(root) => root,
|
||||
Err(_) => panic!("Compact proof decoding failure."),
|
||||
};
|
||||
sp_std::mem::drop(storage_proof);
|
||||
|
||||
let backend = sp_state_machine::TrieBackend::new(db, root);
|
||||
|
||||
|
||||
Reference in new issue
Block a user