diff --git a/pkg/vm/stack_item.go b/pkg/vm/stack_item.go index 27ec00621..f06fc0a29 100644 --- a/pkg/vm/stack_item.go +++ b/pkg/vm/stack_item.go @@ -23,6 +23,10 @@ func makeStackItem(v interface{}) StackItem { return &BigIntegerItem{ value: big.NewInt(val), } + case uint16: + return &BigIntegerItem{ + value: big.NewInt(int64(val)), + } case uint32: return &BigIntegerItem{ value: big.NewInt(int64(val)),