forked from TrueCloudLab/frostfs-node
[#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:
parent
bca7cf9470
commit
acb4a9e5b4
1 changed files with 0 additions and 3 deletions
|
@ -99,9 +99,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(),
|
||||||
|
|
Loading…
Reference in a new issue