From 6f338c660c11d2317321780a730dae4ff99d07a8 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Fri, 21 Jan 2022 11:09:38 +0300 Subject: [PATCH] [#1038] adm: Do not cut `data` args in `NNS` This reverts commit 185a2827cc363afbe1ee8681eacd47f093a90497. Signed-off-by: Pavel Karpy --- cmd/neofs-adm/internal/modules/morph/initialize_deploy.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmd/neofs-adm/internal/modules/morph/initialize_deploy.go b/cmd/neofs-adm/internal/modules/morph/initialize_deploy.go index f36aed15..871f6499 100644 --- a/cmd/neofs-adm/internal/modules/morph/initialize_deploy.go +++ b/cmd/neofs-adm/internal/modules/morph/initialize_deploy.go @@ -104,9 +104,6 @@ func (c *initializeContext) deployNNS(method string) error { } params := getContractDeployParameters(cs.RawNEF, cs.RawManifest, nil) - if method == updateMethodName { - params = params[:len(params)-1] // update has only NEF and manifest args - } signer := transaction.Signer{ Account: c.CommitteeAcc.Contract.ScriptHash(),