vm: accept uint16 in makeStackItem()
This commit is contained in:
parent
78861485b6
commit
782ca64d92
1 changed files with 4 additions and 0 deletions
|
@ -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)),
|
||||
|
|
Loading…
Reference in a new issue