[#496] Remove unused type aliases and errors

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2021-05-21 14:09:01 +03:00 committed by Alex Vanin
parent 2b2b2c2c45
commit b21a6ccede
3 changed files with 3 additions and 31 deletions

View file

@ -9,12 +9,6 @@ import (
"github.com/nspcc-dev/neofs-node/pkg/morph/client/container"
)
// Client represents the Container contract client.
//
// It is a type alias of
// github.com/nspcc-dev/neofs-node/pkg/morph/client/container.Client.
type Client = container.Client
// Wrapper is a wrapper over container contract
// client which implements container storage and
// eACL storage methods.
@ -24,7 +18,7 @@ type Client = container.Client
// expression (or just declaring a Wrapper variable) is unsafe
// and can lead to panic.
type Wrapper struct {
client *Client
client *container.Client
}
// NewFromMorph returns the wrapper instance from the raw morph client.