From 39866a957c2f67801d30a70b8c1430cd3a1d8b4b Mon Sep 17 00:00:00 2001 From: Ekaterina Lebedeva Date: Fri, 12 Jul 2024 17:57:11 +0300 Subject: [PATCH] [#1196] morph/client: Fix `ArrayFromStackItem()` description Signed-off-by: Ekaterina Lebedeva --- pkg/morph/client/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/morph/client/util.go b/pkg/morph/client/util.go index ff8e507f..cd55d6bd 100644 --- a/pkg/morph/client/util.go +++ b/pkg/morph/client/util.go @@ -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: