Skip to content

Commit

Permalink
v1.17: patches slots_per_epoch vs last_slot ordering in shred_fetch_s…
Browse files Browse the repository at this point in the history
…tage (backport of #34338) (#34345)

patches slots_per_epoch vs last_slot ordering in shred_fetch_stage (#34338)

(cherry picked from commit b1c701e)

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
  • Loading branch information
mergify[bot] and behzadnouri authored Dec 6, 2023
1 parent a665996 commit 311e986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/shred_fetch_stage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
(
Expand Down

0 comments on commit 311e986

Please sign in to comment.