core: specify require call flags in interop description
Related #1026, #1027, #1028, #1031.
This commit is contained in:
parent
bda94c74c3
commit
0dd00a49f5
7 changed files with 48 additions and 31 deletions
|
@ -442,7 +442,7 @@ func contractCallExInternal(ic *interop.Context, v *vm.VM, h []byte, method stac
|
|||
return errors.New("disallowed method call")
|
||||
}
|
||||
}
|
||||
v.LoadScriptWithHash(cs.Script, u, f)
|
||||
v.LoadScriptWithHash(cs.Script, u, v.Context().GetCallFlags()&f)
|
||||
v.Estack().PushVal(args)
|
||||
v.Estack().PushVal(method)
|
||||
return nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue