Remove unneccessary Arc clones (#31334)
This commit is contained in:
parent
c8b85177a8
commit
dbc11502a7
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue