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:
Roman Khimov 2021-11-19 17:15:30 +03:00
parent 7b713762be
commit 765235eca3
5 changed files with 6 additions and 6 deletions

View file

@ -460,7 +460,7 @@ func handleRun(c *ishell.Context) {
}
v.Context().Jump(offset)
if initMD := m.ABI.GetMethod(manifest.MethodInit, 0); initMD != nil {
v.Call(v.Context(), initMD.Offset)
v.Call(initMD.Offset)
}
}
}