patches slots_per_epoch vs last_slot ordering in shred_fetch_stage (#34338)

This commit is contained in:
behzad nouri 2023-12-06 20:47:53 +00:00 committed by GitHub
parent 61fa130175
commit b1c701e53b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ impl ShredFetchStage {
.as_ref()
.map(|(_, cluster_info)| cluster_info.keypair().clone());
let (mut last_root, mut last_slot, mut slots_per_epoch) = {
let (mut last_root, mut slots_per_epoch, mut last_slot) = {
let bank_forks_r = bank_forks.read().unwrap();
let root_bank = bank_forks_r.root_bank();
(