From f7dcb7ae290d94ac82f666d2a4922d23ab33761a Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Fri, 16 Apr 2021 16:19:37 +0300 Subject: [PATCH] vm: allow emit.Array handle uint256 --- pkg/vm/emit/emit.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/vm/emit/emit.go b/pkg/vm/emit/emit.go index 55949f8cb..9c6da396a 100644 --- a/pkg/vm/emit/emit.go +++ b/pkg/vm/emit/emit.go @@ -88,6 +88,8 @@ func Array(w *io.BinWriter, es ...interface{}) { String(w, e) case util.Uint160: Bytes(w, e.BytesBE()) + case util.Uint256: + Bytes(w, e.BytesBE()) case []byte: Bytes(w, e) case bool: