diff --git a/runtime/src/bank.rs b/runtime/src/bank.rs index 74fd6d6001..8d565f5a19 100644 --- a/runtime/src/bank.rs +++ b/runtime/src/bank.rs @@ -4537,10 +4537,7 @@ impl Bank { } pub fn get_snapshot_storages(&self) -> SnapshotStorages { - self.rc - .get_snapshot_storages(self.slot()) - .into_iter() - .collect() + self.rc.get_snapshot_storages(self.slot()) } #[must_use]