Skip to content

Commit

Permalink
Bugfix: would_be_leader_shortly_fn period set to 1 slot instead of 20 (
Browse files Browse the repository at this point in the history
  • Loading branch information
apfitzge committed Jul 12, 2023
1 parent ae6abda commit 0b5421f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/src/banking_stage/decision_maker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,10 @@ impl DecisionMaker {
})
},
|| {
poh_recorder
.would_be_leader(HOLD_TRANSACTIONS_SLOT_OFFSET * DEFAULT_TICKS_PER_SLOT)
poh_recorder.would_be_leader(
(FORWARD_TRANSACTIONS_TO_LEADER_AT_SLOT_OFFSET - 1)
* DEFAULT_TICKS_PER_SLOT,
)
},
|| {
poh_recorder
Expand Down

0 comments on commit 0b5421f

Please sign in to comment.