Revert "[#1038] adm: Do not cut `data` args in `NNS`"

This reverts commit acb4a9e5b4.
remotes/fyrchik/neofs-adm-proxy
Evgenii Stratonikov 2021-12-29 13:43:48 +03:00 committed by Alex Vanin
parent 549546dea1
commit 185a2827cc
1 changed files with 3 additions and 0 deletions

View File

@ -104,6 +104,9 @@ 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(),