vm: allow emit.Array handle uint256

This commit is contained in:
Anna Shaleva 2021-04-16 16:19:37 +03:00
parent 1d3a297a6b
commit f7dcb7ae29

View file

@ -88,6 +88,8 @@ func Array(w *io.BinWriter, es ...interface{}) {
String(w, e) String(w, e)
case util.Uint160: case util.Uint160:
Bytes(w, e.BytesBE()) Bytes(w, e.BytesBE())
case util.Uint256:
Bytes(w, e.BytesBE())
case []byte: case []byte:
Bytes(w, e) Bytes(w, e)
case bool: case bool: