vm: omit context parameter from Call()
It's not used and should not be used to switch from contract to contract.
This commit is contained in:
parent
7b713762be
commit
765235eca3
5 changed files with 6 additions and 6 deletions
|
@ -89,7 +89,7 @@ func invokeMethod(t *testing.T, method string, script []byte, v *vm.VM, di *comp
|
|||
v.LoadScriptWithFlags(script, callflag.All)
|
||||
v.Context().Jump(mainOffset)
|
||||
if initOffset >= 0 {
|
||||
v.Call(v.Context(), initOffset)
|
||||
v.Call(initOffset)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue