forked from TrueCloudLab/frostfs-node
[#404] innerring: Wait for deposit in initialization
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
ddf1ac0f28
commit
8c3864e6d6
3 changed files with 72 additions and 1 deletions
|
@ -209,6 +209,9 @@ func toStackParameter(value interface{}) (sc.Parameter, error) {
|
|||
result.Value = arr
|
||||
case string:
|
||||
result.Type = sc.StringType
|
||||
case util.Uint160:
|
||||
result.Type = sc.ByteArrayType
|
||||
result.Value = v.BytesBE()
|
||||
default:
|
||||
return result, errors.Errorf("chain/client: unsupported parameter %v", value)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue