Remove unnecessary clone (#32707)

This commit is contained in:
steviez 2023-08-03 13:54:43 -06:00 committed by GitHub
parent 8076b0fd4f
commit 5edd032c79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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