diff --git a/pkg/morph/client/util.go b/pkg/morph/client/util.go index 36ca84f3..59f60830 100644 --- a/pkg/morph/client/util.go +++ b/pkg/morph/client/util.go @@ -179,7 +179,7 @@ func ArrayFromStackItem(param stackitem.Item) ([]stackitem.Item, error) { switch param.Type() { case stackitem.AnyT: return nil, nil - case stackitem.ArrayT: + case stackitem.ArrayT, stackitem.StructT: items, ok := param.Value().([]stackitem.Item) if !ok { return nil, errors.Errorf("chain/client: can't convert %T to parameter slice", param.Value())