Skip to content

Commit

Permalink
fix: remove epoch adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
ricomiles committed Dec 30, 2024
1 parent c23bab1 commit 19a9524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ledger/pparams/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ pub fn fold_until_epoch(
}
}

for epoch in 1..=for_epoch + 1 {
for epoch in 1..for_epoch {
let epoch_updates: Vec<_> = updates
.iter()
.filter(|e| e.epoch() == (epoch - 1))
Expand Down

0 comments on commit 19a9524

Please sign in to comment.