From b3778d5044dee5f441d7be7d5926841696111727 Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" Date: Sun, 12 Feb 2023 15:42:03 -0600 Subject: [PATCH] cleanup (#30251) --- runtime/src/ancient_append_vecs.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/src/ancient_append_vecs.rs b/runtime/src/ancient_append_vecs.rs index d61716d9fd..6b26fb1c5e 100644 --- a/runtime/src/ancient_append_vecs.rs +++ b/runtime/src/ancient_append_vecs.rs @@ -369,7 +369,7 @@ impl AccountsDb { } = packed; let accounts_to_write = StorableAccountsBySlot::new( target_slot, - &accounts_to_write[..], + accounts_to_write, INCLUDE_SLOT_IN_HASH_IRRELEVANT_APPEND_VEC_OPERATION, ); @@ -1975,7 +1975,7 @@ pub mod tests { let target_slot = slots.clone().nth(combine_into).unwrap_or(slots.start); let accounts_to_write = StorableAccountsBySlot::new( target_slot, - &accounts[..], + &accounts, INCLUDE_SLOT_IN_HASH_TESTS, );