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

This reverts commit acb4a9e5b4.
This commit is contained in:
Evgenii Stratonikov 2021-12-29 13:43:48 +03:00 committed by Alex Vanin
parent 549546dea1
commit 185a2827cc

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