From 2d6db6f5c469cc50d0b908707adfd84ecbfc82ff Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Wed, 7 Dec 2022 17:30:02 +0300 Subject: [PATCH] vm: adjust stale comment --- pkg/vm/vm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/vm/vm.go b/pkg/vm/vm.go index ecf2fdee7..950dfed7e 100644 --- a/pkg/vm/vm.go +++ b/pkg/vm/vm.go @@ -1351,7 +1351,7 @@ func (v *VM) execute(ctx *Context, op opcode.Opcode, parameter []byte) (err erro v.refs.Remove(toRemove) case *stackitem.Map: index := t.Index(key.Item()) - // Neo 2.0 doesn't error on missing key. + // No error on missing key. if index >= 0 { elems := t.Value().([]stackitem.MapElement) key := elems[index].Key