forked from TrueCloudLab/frostfs-node
[#1417] go.mod: Update neo-go to v0.99.0
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
fa009db140
commit
91ed0d20ff
6 changed files with 28 additions and 12 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue