[#1417] go.mod: Update neo-go to v0.99.0

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-06-04 15:03:30 +03:00 committed by fyrchik
parent fa009db140
commit 91ed0d20ff
6 changed files with 28 additions and 12 deletions

View file

@ -451,13 +451,13 @@ func toStackParameter(value interface{}) (sc.Parameter, error) {
result.Type = sc.ByteArrayType
case int:
result.Type = sc.IntegerType
result.Value = int64(v)
result.Value = big.NewInt(int64(v))
case int64:
result.Type = sc.IntegerType
result.Value = v
result.Value = big.NewInt(v)
case uint64:
result.Type = sc.IntegerType
result.Value = int64(v)
result.Value = new(big.Int).SetUint64(v)
case [][]byte:
arr := make([]sc.Parameter, 0, len(v))
for i := range v {