forked from TrueCloudLab/frostfs-node
[#627] morph: Inherit internal.StaticClient interface in all wrappers
There is a need to provide contract address getter from all contract client wrappers. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
1860f5040c
commit
d6c0307431
14 changed files with 79 additions and 30 deletions
|
@ -40,7 +40,7 @@ func (w *ClientWrapper) Put(v PutArgs) error {
|
|||
return err
|
||||
}
|
||||
|
||||
return (*reputationClient.Client)(w).Put(args)
|
||||
return w.client.Put(args)
|
||||
}
|
||||
|
||||
func preparePutArgs(v PutArgs) (reputationClient.PutArgs, error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue