mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
ensure early drop of proof memory. (#500)
This commit is contained in:
@@ -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