core: simplify interop functions

We now have the only interop table (system interops).
This commit is contained in:
Anna Shaleva 2021-05-11 17:40:03 +03:00
parent 6d59689d9c
commit 4b933f88a7
7 changed files with 23 additions and 42 deletions

View file

@ -71,8 +71,8 @@ func initCheckMultisigVMNoArgs(container *transaction.Transaction) *vm.VM {
Network: uint32(netmode.UnitTestNet),
Trigger: trigger.Verification,
Container: container,
Functions: Interops,
}
Register(ic)
v := ic.SpawnVM()
v.LoadScript(buf)
return v