[#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

@ -140,6 +140,9 @@ func initSubnetClientCheckNotary(c *morphsubnet.Client, key *keys.PrivateKey, ch
return err
}
// Error means group was not set in NNS, continue with Global scope in this case.
_ = cMorph.SetGroupSignerScope()
// read contract address
contractAddr, err := cMorph.NNSContractAddress(client.NNSSubnetworkContractName)
if err != nil {