Skip to content

Commit

Permalink
patches slots_per_epoch vs last_slot ordering in shred_fetch_stage (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
behzadnouri authored Dec 6, 2023
1 parent 61fa130 commit b1c701e
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 b1c701e

Please sign in to comment.