[#1170] pkg/morph: Delete unused function

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-04-01 20:28:49 +03:00 committed by Alex Vanin
parent 01e69f2f7a
commit b6e5aac604

View file

@ -161,15 +161,6 @@ func wrapNeoFSError(err error) error {
return neofsError{err} return neofsError{err}
} }
// unwraps NeoFS-specific error if err is type of neofsError. Otherwise, returns nil.
func unwrapNeoFSError(err error) error {
if e := new(neofsError); errors.As(err, e) {
return e.err
}
return nil
}
// Invoke invokes contract method by sending transaction into blockchain. // Invoke invokes contract method by sending transaction into blockchain.
// Supported args types: int64, string, util.Uint160, []byte and bool. // Supported args types: int64, string, util.Uint160, []byte and bool.
func (c *Client) Invoke(contract util.Uint160, fee fixedn.Fixed8, method string, args ...interface{}) error { func (c *Client) Invoke(contract util.Uint160, fee fixedn.Fixed8, method string, args ...interface{}) error {