forked from TrueCloudLab/frostfs-node
[#1535] morph: Unify client creation error messages
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
281d65435e
commit
6c679d1535
5 changed files with 5 additions and 5 deletions
|
@ -35,7 +35,7 @@ func NewFromMorph(cli *client.Client, contract util.Uint160, fee fixedn.Fixed8,
|
|||
|
||||
sc, err := client.NewStatic(cli, contract, fee, ([]client.StaticClientOption)(*o)...)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("could not create client of FrostFS contract: %w", err)
|
||||
return nil, fmt.Errorf("create 'frostfs' contract client: %w", err)
|
||||
}
|
||||
|
||||
return &Client{client: sc}, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue