mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
ensure early drop of proof memory. (#500)
This commit is contained in:
@@ -79,6 +79,7 @@ where
|
|||||||
Ok(root) => root,
|
Ok(root) => root,
|
||||||
Err(_) => panic!("Compact proof decoding failure."),
|
Err(_) => panic!("Compact proof decoding failure."),
|
||||||
};
|
};
|
||||||
|
sp_std::mem::drop(storage_proof);
|
||||||
|
|
||||||
let backend = sp_state_machine::TrieBackend::new(db, root);
|
let backend = sp_state_machine::TrieBackend::new(db, root);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user