From bd3f43cdeb6810c126b0846eccf76375cd6780cb Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Mon, 27 Sep 2021 18:05:48 +0300 Subject: [PATCH] Disable things in notary disabled environment Signed-off-by: Alex Vanin --- cmd/neofs-adm/internal/modules/morph/initialize_deploy.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/neofs-adm/internal/modules/morph/initialize_deploy.go b/cmd/neofs-adm/internal/modules/morph/initialize_deploy.go index 97ba0c29f..11d7a7755 100644 --- a/cmd/neofs-adm/internal/modules/morph/initialize_deploy.go +++ b/cmd/neofs-adm/internal/modules/morph/initialize_deploy.go @@ -18,7 +18,6 @@ import ( "github.com/nspcc-dev/neo-go/pkg/core/transaction" io2 "github.com/nspcc-dev/neo-go/pkg/io" "github.com/nspcc-dev/neo-go/pkg/rpcclient" - "github.com/nspcc-dev/neo-go/pkg/smartcontract" "github.com/nspcc-dev/neo-go/pkg/smartcontract/callflag" "github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest" "github.com/nspcc-dev/neo-go/pkg/smartcontract/nef" @@ -527,7 +526,7 @@ func (c *initializeContext) getContractDeployData(ctrName string, keysParam []in items = append(items, c.Contracts[processingContract].Hash, keysParam, - smartcontract.Parameter{}) + []interface{}{}) case processingContract: items = append(items, c.Contracts[neofsContract].Hash) return items[1:] // no notary info