Remove unnecessary clone (#32707)
This commit is contained in:
parent
8076b0fd4f
commit
5edd032c79
|
@ -594,7 +594,7 @@ impl AccountsBackgroundService {
|
|||
let start_time = Instant::now();
|
||||
|
||||
// Grab the current root bank
|
||||
let bank = bank_forks.read().unwrap().root_bank().clone();
|
||||
let bank = bank_forks.read().unwrap().root_bank();
|
||||
|
||||
// Purge accounts of any dead slots
|
||||
request_handlers
|
||||
|
|
Loading…
Reference in New Issue