Skip to content

Commit

Permalink
sampling randomness out of range results in revert not fault
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenGround0 committed Mar 25, 2019
1 parent 20f7f52 commit 4386922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actor/builtin/miner/miner.go
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ func (ma *Actor) SubmitPoSt(ctx exec.VMContext, postProofs []proofs.PoStProof) (

seed, err := currentProvingPeriodPoStChallengeSeed(ctx, state)
if err != nil {
return nil, errors.FaultErrorWrap(err, "failed to sample chain for challenge seed")
return nil, errors.RevertErrorWrap(err, "failed to sample chain for challenge seed")
}

var commRs []proofs.CommR
Expand Down

0 comments on commit 4386922

Please sign in to comment.