diff --git a/ledger/src/blockstore_processor.rs b/ledger/src/blockstore_processor.rs index 1bb58d1e5..1feb92abf 100644 --- a/ledger/src/blockstore_processor.rs +++ b/ledger/src/blockstore_processor.rs @@ -714,7 +714,7 @@ fn do_process_blockstore_from_root( start_slot, &start_slot_meta, blockstore, - &mut leader_schedule_cache, + &leader_schedule_cache, opts, recyclers, transaction_status_sender, @@ -1156,7 +1156,7 @@ fn load_frozen_forks( start_slot: Slot, start_slot_meta: &SlotMeta, blockstore: &Blockstore, - leader_schedule_cache: &mut LeaderScheduleCache, + leader_schedule_cache: &LeaderScheduleCache, opts: &ProcessOptions, recyclers: &VerifyRecyclers, transaction_status_sender: Option<&TransactionStatusSender>,