[#404] innerring: Wait for deposit in initialization

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-02-25 19:53:30 +03:00 committed by Alex Vanin
parent ddf1ac0f28
commit 8c3864e6d6
3 changed files with 72 additions and 1 deletions

View file

@ -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)
}