mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 23:25:22 +00:00
contract: drop useless code from call processing
It's done already by LoadScriptWithCallingHash()
This commit is contained in:
parent
aa06770b3d
commit
d1f4928e29
1 changed files with 0 additions and 5 deletions
|
@ -120,11 +120,6 @@ func callExFromNative(ic *interop.Context, caller util.Uint160, cs *state.Contra
|
|||
}
|
||||
// use Jump not Call here because context was loaded in LoadScript above.
|
||||
ic.VM.Jump(ic.VM.Context(), md.Offset)
|
||||
if hasReturn {
|
||||
ic.VM.Context().RetCount = 1
|
||||
} else {
|
||||
ic.VM.Context().RetCount = 0
|
||||
}
|
||||
|
||||
md = cs.Manifest.ABI.GetMethod(manifest.MethodInit, 0)
|
||||
if md != nil {
|
||||
|
|
Loading…
Reference in a new issue