From 2d078392591daae35672744c073f5cb905f93860 Mon Sep 17 00:00:00 2001 From: Shawn Tabrizi Date: Tue, 7 Sep 2021 20:21:22 -0400 Subject: [PATCH] Update Slot Range Expect Proof (#3707) * update slot range expect proof * update to same acronym --- polkadot/runtime/common/src/auctions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polkadot/runtime/common/src/auctions.rs b/polkadot/runtime/common/src/auctions.rs index 3e9a5e0b5c..caa609e1af 100644 --- a/polkadot/runtime/common/src/auctions.rs +++ b/polkadot/runtime/common/src/auctions.rs @@ -605,7 +605,7 @@ impl Pallet { .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); }