[#584] pkg/innerring: Delete using deprecated methods

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2021-06-02 19:29:19 +03:00 committed by Alex Vanin
parent 057ebf9d51
commit 752efc6f8c
12 changed files with 2 additions and 134 deletions

View file

@ -40,22 +40,3 @@ func (c *Client) Put(args PutArgs) error {
}
return nil
}
// PutViaNotary invokes notary call of "put reputation value" method of
// reputation contract.
//
// Deprecated: construct underlying StaticClient with TryNotary() option
// and use Put.
func (c *Client) PutViaNotary(args PutArgs) error {
err := c.client.NotaryInvoke(
c.putMethod,
int64(args.epoch),
args.peerID,
args.value,
)
if err != nil {
return fmt.Errorf("could not invoke method (%s): %w", c.putMethod, err)
}
return err
}