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

This reverts commit 185a2827cc.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-01-21 11:09:38 +03:00 committed by Alex Vanin
parent adb80bebb2
commit 6f338c660c

View file

@ -104,9 +104,6 @@ func (c *initializeContext) deployNNS(method string) error {
} }
params := getContractDeployParameters(cs.RawNEF, cs.RawManifest, nil) 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{ signer := transaction.Signer{
Account: c.CommitteeAcc.Contract.ScriptHash(), Account: c.CommitteeAcc.Contract.ScriptHash(),