[#1558] morph/client: Remove "could not"/"can't"/"failed to" from error messages
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
91d9dc2676
commit
7151c71d51
19 changed files with 55 additions and 55 deletions
|
@ -53,7 +53,7 @@ func BytesFromStackItem(param stackitem.Item) ([]byte, error) {
|
|||
case stackitem.IntegerT:
|
||||
n, err := param.TryInteger()
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("can't parse integer bytes: %w", err)
|
||||
return nil, fmt.Errorf("parse integer bytes: %w", err)
|
||||
}
|
||||
|
||||
return n.Bytes(), nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue