From 32fd3692bf86b52946853a9473f8038e90404062 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Mon, 27 Jun 2022 17:44:22 +0300 Subject: [PATCH] [#1555] neofs-adm: Fix cached group signer Signed-off-by: Evgenii Stratonikov --- cmd/neofs-adm/internal/modules/morph/initialize.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/neofs-adm/internal/modules/morph/initialize.go b/cmd/neofs-adm/internal/modules/morph/initialize.go index a325640a1a..aa63eff62a 100644 --- a/cmd/neofs-adm/internal/modules/morph/initialize.go +++ b/cmd/neofs-adm/internal/modules/morph/initialize.go @@ -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}, }