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