forked from TrueCloudLab/frostfs-node
[#1170] pkg/morph: Delete unused function
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
01e69f2f7a
commit
b6e5aac604
1 changed files with 0 additions and 9 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue