mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-26 09:42:22 +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)
|
||||
default:
|
||||
if es[i] != nil {
|
||||
w.Err = fmt.Errorf("unsupported type: %v", e)
|
||||
w.Err = fmt.Errorf("unsupported type: %T", e)
|
||||
return
|
||||
}
|
||||
Opcodes(w, opcode.PUSHNULL)
|
||||
|
|
Loading…
Reference in a new issue