mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 09:29:38 +00:00
vm: adjust stale comment
This commit is contained in:
parent
82221b0ca7
commit
2d6db6f5c4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue