diff --git a/actors/miner/src/lib.rs b/actors/miner/src/lib.rs index a0a3a3bfc..24518ced8 100644 --- a/actors/miner/src/lib.rs +++ b/actors/miner/src/lib.rs @@ -5033,9 +5033,7 @@ fn batch_activate_deals_and_claim_allocations( true => ext::verifreg::ClaimAllocationsReturn { sector_results: BatchReturn::ok(verified_claims.len() as u32), sector_claims: vec![ - ext::verifreg::SectorClaimSummary { - claimed_space: BigInt::zero() - }; + ext::verifreg::SectorClaimSummary { claimed_space: BigInt::zero() }; verified_claims.len() ], }, diff --git a/actors/verifreg/tests/verifreg_actor_test.rs b/actors/verifreg/tests/verifreg_actor_test.rs index a48c157b2..087f6d8f1 100644 --- a/actors/verifreg/tests/verifreg_actor_test.rs +++ b/actors/verifreg/tests/verifreg_actor_test.rs @@ -783,7 +783,7 @@ mod allocs_claims { ]; reqs[0].claims[1].size = PaddedPieceSize(0); expect_abort( - ExitCode::USR_FORBIDDEN, + ExitCode::USR_ILLEGAL_ARGUMENT, h.claim_allocations(&rt, PROVIDER1, reqs, 0, true), ); rt.reset();