forked from TrueCloudLab/frostfs-node
[#584] pkg/innerring: Delete using deprecated methods
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
057ebf9d51
commit
752efc6f8c
12 changed files with 2 additions and 134 deletions
|
@ -43,17 +43,6 @@ func (w *ClientWrapper) Put(v PutArgs) error {
|
|||
return (*reputationClient.Client)(w).Put(args)
|
||||
}
|
||||
|
||||
// PutViaNotary invokes notary call of "put reputation value" method of
|
||||
// reputation contract.
|
||||
func (w *ClientWrapper) PutViaNotary(v PutArgs) error {
|
||||
args, err := preparePutArgs(v)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return (*reputationClient.Client)(w).PutViaNotary(args)
|
||||
}
|
||||
|
||||
func preparePutArgs(v PutArgs) (reputationClient.PutArgs, error) {
|
||||
args := reputationClient.PutArgs{}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue