[#1555] neofs-adm: Fix cached group signer

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-06-27 17:44:22 +03:00 committed by fyrchik
parent 5c2ef79080
commit 32fd3692bf

View file

@ -276,6 +276,7 @@ func (c *initializeContext) nnsContractState() (*state.Contract, error) {
func (c *initializeContext) getSigner(tryGroup bool) transaction.Signer {
if tryGroup && c.groupKey != nil {
return transaction.Signer{
Account: c.CommitteeAcc.Contract.ScriptHash(),
Scopes: transaction.CustomGroups,
AllowedGroups: keys.PublicKeys{c.groupKey},
}