[#812] morph/client: Add underline client getter in reputation wrapper

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-09-08 18:18:09 +03:00 committed by Alex Vanin
parent e2c2e27c60
commit a7f6a3df78
2 changed files with 10 additions and 0 deletions

View file

@ -23,6 +23,11 @@ func defaultOpts() *opts {
return new(opts)
}
// Morph returns raw morph client.
func (w ClientWrapper) Morph() *client.Client {
return (reputation.Client)(w).Morph()
}
// TryNotary returns option to enable
// notary invocation tries.
func TryNotary() Option {