[#749] morph/client: set group signer scope

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-01-29 15:42:48 +03:00 committed by Alex Vanin
parent fa947b85a6
commit e21d054fe2
4 changed files with 31 additions and 2 deletions

View file

@ -51,6 +51,9 @@ func initMorphComponents(c *cfg) {
client.WithMaxConnectionPerHost(morphconfig.MaxConnPerHost(c.appCfg)),
)
if err == nil {
if err := cli.SetGroupSignerScope(); err != nil {
c.log.Info("failed to set group signer scope, continue with Global", zap.Error(err))
}
handler(cli)
return