diff --git a/actors/miner/tests/prove_commit2_failures_test.rs b/actors/miner/tests/prove_commit2_failures_test.rs index 70e017c82..028ccb383 100644 --- a/actors/miner/tests/prove_commit2_failures_test.rs +++ b/actors/miner/tests/prove_commit2_failures_test.rs @@ -95,11 +95,11 @@ fn reject_too_soon() { let (h, rt, activations) = setup_precommits(&[(0, 0, 0)]); let epoch = *rt.epoch.borrow(); rt.set_epoch(epoch - 2); - let cfg = ProveCommitSectors2Config::default(); + let cfg = ProveCommitSectors3Config::default(); expect_abort_contains_message( ExitCode::USR_FORBIDDEN, "too early to prove sector", - h.prove_commit_sectors2(&rt, &activations, false, false, false, cfg), + h.prove_commit_sectors3(&rt, &activations, false, false, false, cfg), ); h.check_state(&rt); }