forked from TrueCloudLab/frostfs-node
[#1555] neofs-adm: Fix cached group signer
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
5c2ef79080
commit
32fd3692bf
1 changed files with 1 additions and 0 deletions
|
@ -276,6 +276,7 @@ func (c *initializeContext) nnsContractState() (*state.Contract, error) {
|
||||||
func (c *initializeContext) getSigner(tryGroup bool) transaction.Signer {
|
func (c *initializeContext) getSigner(tryGroup bool) transaction.Signer {
|
||||||
if tryGroup && c.groupKey != nil {
|
if tryGroup && c.groupKey != nil {
|
||||||
return transaction.Signer{
|
return transaction.Signer{
|
||||||
|
Account: c.CommitteeAcc.Contract.ScriptHash(),
|
||||||
Scopes: transaction.CustomGroups,
|
Scopes: transaction.CustomGroups,
|
||||||
AllowedGroups: keys.PublicKeys{c.groupKey},
|
AllowedGroups: keys.PublicKeys{c.groupKey},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue