Skip to content

Commit

Permalink
pr feedback: & instead of &Arc
Browse files Browse the repository at this point in the history
  • Loading branch information
AshwinSekar committed Dec 8, 2023
1 parent c634440 commit ae703c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/window_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ fn run_check_duplicate(
blockstore: &Blockstore,
shred_receiver: &Receiver<PossibleDuplicateShred>,
duplicate_slots_sender: &DuplicateSlotSender,
bank_forks: &Arc<RwLock<BankForks>>,
bank_forks: &RwLock<BankForks>,
) -> Result<()> {
let mut root_bank = bank_forks.read().unwrap().root_bank().clone();
let mut last_updated = Instant::now();
Expand Down

0 comments on commit ae703c9

Please sign in to comment.