Remove unneccessary Arc clones (#31334)

This commit is contained in:
Andrew Fitzgerald 2023-05-15 17:07:40 -07:00 committed by GitHub
parent c8b85177a8
commit dbc11502a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -533,10 +533,7 @@ impl SendTransactionService {
.store(transactions.len() as u64, Ordering::Relaxed);
let (root_bank, working_bank) = {
let bank_forks = bank_forks.read().unwrap();
(
bank_forks.root_bank().clone(),
bank_forks.working_bank().clone(),
)
(bank_forks.root_bank(), bank_forks.working_bank())
};
let _result = Self::process_transactions(