vm: stringify InteropInterface stackitem type as InteropInterface

This commit is contained in:
Anna Shaleva 2022-05-25 13:20:21 +03:00
parent 84629b0760
commit a3285eae04
5 changed files with 7 additions and 7 deletions

View file

@ -299,7 +299,7 @@ func toJSONWithTypes(data []byte, item Item, seen map[Item]sliceNoPointer) ([]by
case Null:
val = `{"type":"Any"}`
case *Interop:
val = `{"type":"Interop"}`
val = `{"type":"InteropInterface"}`
default:
val = `{"type":"` + item.Type().String() + `","value":`
hasValue = true