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 a43ddc7 commit e6215cf
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
@@ -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();

0 comments on commit e6215cf

Please sign in to comment.