mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-23 03:38:35 +00:00
parent
74ffde8367
commit
d2f452c240
1 changed files with 3 additions and 0 deletions
|
@ -422,6 +422,9 @@ func contractCallEx(ic *interop.Context, v *vm.VM) error {
|
|||
method := v.Estack().Pop().Item()
|
||||
args := v.Estack().Pop().Item()
|
||||
flags := smartcontract.CallFlag(int32(v.Estack().Pop().BigInt().Int64()))
|
||||
if flags&^smartcontract.All != 0 {
|
||||
return errors.New("call flags out of range")
|
||||
}
|
||||
return contractCallExInternal(ic, v, h, method, args, flags)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue