mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 09:29:38 +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 {
|
||||
return err
|
||||
}
|
||||
v.Load(nef.Script)
|
||||
v.LoadWithFlags(nef.Script, f)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue