diff --git a/runtime/src/ancestors.rs b/runtime/src/ancestors.rs index 8428baa98b..22aae9eb4d 100644 --- a/runtime/src/ancestors.rs +++ b/runtime/src/ancestors.rs @@ -28,7 +28,7 @@ impl From> for Ancestors { }); let range = result.range(); if range > ANCESTORS_HASH_MAP_SIZE { - result.large_range_slots = source.into_iter().map(|(slot, _)| slot).collect(); + result.large_range_slots = source.into_iter().collect(); result.min = 0; result.max = 0; } else {