Skip to content

Commit

Permalink
init stake history with epoch (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
2501babe authored and buffalojoec committed Dec 4, 2024
1 parent 222a67a commit 1dd4692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harness/src/sysvar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl Default for Sysvars {
};

let mut stake_history = StakeHistory::default();
stake_history.add(clock.slot, StakeHistoryEntry::default());
stake_history.add(clock.epoch, StakeHistoryEntry::default());

Self {
clock,
Expand Down

0 comments on commit 1dd4692

Please sign in to comment.