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

The updated version of the `NNS` contract now supports the third `data`
argument that may provide additional information.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2021-12-20 01:07:39 +03:00 committed by Alex Vanin
parent bca7cf9470
commit acb4a9e5b4

View file

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