vm: accept uint16 in makeStackItem()

This commit is contained in:
Roman Khimov 2019-10-08 12:29:18 +03:00
parent 78861485b6
commit 782ca64d92

View file

@ -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)),