Skip to content

Commit

Permalink
fix v6 market actor bug (#1341)
Browse files Browse the repository at this point in the history
  • Loading branch information
noot authored Dec 16, 2021
1 parent b29e873 commit 90e85d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm/actor/src/builtin/market/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ impl Actor {
// This should only fail on programmer error because all expected invalid conditions should be filtered in the first set of checks.

// TODO: Check if we neeed to make the previous look non mut
for (vid, valid_deal) in params.deals.iter_mut().enumerate() {
for (vid, valid_deal) in valid_deals.iter().enumerate() {
msm.lock_client_and_provider_balances(&valid_deal.proposal)?;

let id = msm.generate_storage_deal_id();
Expand Down

0 comments on commit 90e85d0

Please sign in to comment.