Unverified Commit 49128c88 authored by Shawn Tabrizi's avatar Shawn Tabrizi Committed by GitHub
Browse files

Update Slot Range Expect Proof (#3707)

* update slot range expect proof

* update to same acronym
parent a543821d
Pipeline #156046 passed with stages
in 49 minutes and 24 seconds
......@@ -605,7 +605,7 @@ impl<T: Config> Pallet<T> {
.map(|(_, _, amount)| *amount * (range.len() as u32).into())
};
for i in 0..SlotRange::LEASE_PERIODS_PER_SLOT {
let r = SlotRange::new_bounded(0, 0, i as u32).expect("`i < 4`; qed");
let r = SlotRange::new_bounded(0, 0, i as u32).expect("`i < LPPS`; qed");
if let Some(bid) = best_bid(r) {
best_winners_ending_at[i] = (vec![r], bid);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment