mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 19:29:39 +00:00
vm/tests: make test interop push non-nil InteropItem
This commit is contained in:
parent
a44acd25bb
commit
820b050b18
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ func TestUT(t *testing.T) {
|
|||
func getTestingInterop(id uint32) *InteropFuncPrice {
|
||||
if id == binary.LittleEndian.Uint32([]byte{0x77, 0x77, 0x77, 0x77}) {
|
||||
return &InteropFuncPrice{InteropFunc(func(v *VM) error {
|
||||
v.estack.Push(&Element{value: (*InteropItem)(nil)})
|
||||
v.estack.PushVal(&InteropItem{new(int)})
|
||||
return nil
|
||||
}), 0}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue