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
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue