smartcontract,vm: remove DynamicInvoke feature

It doesn't exist in NEO3.
This commit is contained in:
Evgenii Stratonikov 2020-06-09 16:16:32 +03:00
parent 76a2f62fbd
commit 5514b3f52f
6 changed files with 7 additions and 26 deletions

View file

@ -484,7 +484,7 @@ func contractCallExInternal(ic *interop.Context, v *vm.VM, h []byte, method stac
if err != nil {
return errors.New("invalid contract hash")
}
script, _ := ic.GetContract(u)
script := ic.GetContract(u)
if script == nil {
return errors.New("contract not found")
}