[#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>remotes/fyrchik/prometheus-epoch
parent
bca7cf9470
commit
acb4a9e5b4
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue