morph/client: Remove duplicate utility functions #1244

Merged
fyrchik merged 1 commit from elebedeva/frostfs-node:feat/refactor-morph-client into master 2024-09-04 19:51:10 +00:00

View file

@ -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: