Skip to content

Commit

Permalink
[#1038] adm: Do not cut data args in NNS
Browse files Browse the repository at this point in the history
The updated version of the `NNS` contract now supports the third `data`
argument that may provide additional information.

Signed-off-by: Pavel Karpy <[email protected]>
  • Loading branch information
carpawell authored and alexvanin committed Dec 20, 2021
1 parent bca7cf9 commit acb4a9e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/neofs-adm/internal/modules/morph/initialize_deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit acb4a9e

Please sign in to comment.