forked from TrueCloudLab/frostfs-node
[#1196] morph/client: Fix ArrayFromStackItem()
description
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
This commit is contained in:
parent
d02a7c2d38
commit
39866a957c
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ func BytesFromStackItem(param stackitem.Item) ([]byte, error) {
|
|||
|
||||
// ArrayFromStackItem returns the slice contract parameters from passed parameter.
|
||||
//
|
||||
// If passed parameter carries boolean false value, (nil, nil) returns.
|
||||
// If passed parameter carries boolean false value, returns (nil, nil).
|
||||
func ArrayFromStackItem(param stackitem.Item) ([]stackitem.Item, error) {
|
||||
switch param.Type() {
|
||||
case stackitem.AnyT:
|
||||
|
|
Loading…
Reference in a new issue