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. // 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).

Unrelated to the commit.

Unrelated to the commit.

fixed

fixed

please, look at the DCO action result

please, look at the DCO action result

also, we could use morph: or morph/client: component to this new commit too

also, we could use `morph: ` or `morph/client: ` component to this new commit too
func ArrayFromStackItem(param stackitem.Item) ([]stackitem.Item, error) { func ArrayFromStackItem(param stackitem.Item) ([]stackitem.Item, error) {
switch param.Type() { switch param.Type() {
case stackitem.AnyT: case stackitem.AnyT: