morph/client: Remove duplicate utility functions #1244
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