Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
call validate caller (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping authored and aarshkshah1992 committed Jun 29, 2020
1 parent ff20d71 commit 7e8663d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions actors/builtin/verifreg/verified_registry_actor.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ func (a Actor) AddVerifiedClient(rt vmr.Runtime, params *AddVerifiedClientParams
if params.Allowance.LessThanEqual(MinVerifiedDealSize) {
rt.Abortf(exitcode.ErrIllegalArgument, "Allowance %d below MinVerifiedDealSize for add verified client %v", params.Allowance, params.Address)
}
rt.ValidateImmediateCallerAcceptAny()

var st State
rt.State().Transaction(&st, func() interface{} {
Expand Down

0 comments on commit 7e8663d

Please sign in to comment.