Skip to content

Commit 50ac9f6

Browse files
authored
init stake history with epoch (#45)
1 parent 172907b commit 50ac9f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

harness/src/sysvar.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ impl Default for Sysvars {
4444
};
4545

4646
let mut stake_history = StakeHistory::default();
47-
stake_history.add(clock.slot, StakeHistoryEntry::default());
47+
stake_history.add(clock.epoch, StakeHistoryEntry::default());
4848

4949
Self {
5050
clock,

0 commit comments

Comments
 (0)