mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 19:27:58 +00:00
Prepare for latest clippy (nightly 09-10-2022) (#12466)
This commit is contained in:
@@ -109,7 +109,7 @@ impl<H: Hasher> Recorder<H> {
|
||||
/// Returns the [`StorageProof`].
|
||||
pub fn to_storage_proof(&self) -> StorageProof {
|
||||
let recorder = self.inner.lock();
|
||||
StorageProof::new(recorder.accessed_nodes.iter().map(|(_, v)| v.clone()))
|
||||
StorageProof::new(recorder.accessed_nodes.values().cloned())
|
||||
}
|
||||
|
||||
/// Returns the estimated encoded size of the proof.
|
||||
|
||||
Reference in New Issue
Block a user