forked from TrueCloudLab/frostfs-node
[#1115] *: link TODOs to corresponding issues
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
692790a899
commit
050a4bb2b0
51 changed files with 49 additions and 97 deletions
|
@ -377,11 +377,11 @@ func toStackParameter(value interface{}) (sc.Parameter, error) {
|
|||
Value: value,
|
||||
}
|
||||
|
||||
// todo: add more types
|
||||
// TODO: #1141 add more types
|
||||
switch v := value.(type) {
|
||||
case []byte:
|
||||
result.Type = sc.ByteArrayType
|
||||
case int64: // TODO: add other numerical types
|
||||
case int64:
|
||||
result.Type = sc.IntegerType
|
||||
case [][]byte:
|
||||
arr := make([]sc.Parameter, 0, len(v))
|
||||
|
@ -412,7 +412,7 @@ func toStackParameter(value interface{}) (sc.Parameter, error) {
|
|||
|
||||
return toStackParameter(arr)
|
||||
case bool:
|
||||
// FIXME: there are some problems with BoolType in neo-go,
|
||||
// FIXME: #1141 there are some problems with BoolType in neo-go,
|
||||
// so we use compatible type
|
||||
result.Type = sc.IntegerType
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue