mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-29 23:33:37 +00:00
Merge pull request #2089 from nspcc-dev/fix-emit
vm/emit: improve error message
This commit is contained in:
commit
6b852fc7b6
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ func Array(w *io.BinWriter, es ...interface{}) {
|
||||||
Bool(w, e)
|
Bool(w, e)
|
||||||
default:
|
default:
|
||||||
if es[i] != nil {
|
if es[i] != nil {
|
||||||
w.Err = fmt.Errorf("unsupported type: %v", e)
|
w.Err = fmt.Errorf("unsupported type: %T", e)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
Opcodes(w, opcode.PUSHNULL)
|
Opcodes(w, opcode.PUSHNULL)
|
||||||
|
|
Loading…
Reference in a new issue