mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-25 23:42:23 +00:00
vm: make LoadFileWithFlags actually load with flags provided
This commit is contained in:
parent
d09a0c18a7
commit
7db9258104
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ func (v *VM) LoadFileWithFlags(path string, f callflag.CallFlag) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
v.Load(nef.Script)
|
v.LoadWithFlags(nef.Script, f)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue