Skip to content

Commit

Permalink
fix(pallet-market): activated_deals bound
Browse files Browse the repository at this point in the history
  • Loading branch information
th7nder committed Jun 28, 2024
1 parent 973b059 commit d8823d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/market/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ pub mod pallet {
None
};

let mut activated_deals: BoundedVec<_, ConstU32<128>> = BoundedVec::new();
let mut activated_deals: BoundedVec<_, ConstU32<MAX_DEALS_PER_SECTOR>> = BoundedVec::new();
for (deal_id, mut proposal) in proposals {
// Make it Active! This is what's this function is about in the end.
proposal.state =
Expand Down

0 comments on commit d8823d0

Please sign in to comment.