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

This reverts commit 185a2827cc.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
remotes/fyrchik/control-api-evacuate
Pavel Karpy 2022-01-21 11:09:38 +03:00 committed by Alex Vanin
parent adb80bebb2
commit 6f338c660c
1 changed files with 0 additions and 3 deletions

View File

@ -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(),