forked from TrueCloudLab/frostfs-node
Revert "[#1038] adm: Do not cut data
args in NNS
"
This reverts commit acb4a9e5b4
.
This commit is contained in:
parent
549546dea1
commit
185a2827cc
1 changed files with 3 additions and 0 deletions
|
@ -104,6 +104,9 @@ 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