[#834] neofs-adm: Update NNS contract during contract update

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-09-21 15:21:38 +03:00 committed by Alex Vanin
parent d996004d80
commit ce8a906bb5
3 changed files with 17 additions and 5 deletions

View file

@ -57,7 +57,7 @@ func initializeSideChainCmd(cmd *cobra.Command, args []string) error {
// 3. Deploy NNS contract.
cmd.Println("Stage 3: deploy NNS contract.")
if err := initCtx.deployNNS(); err != nil {
if err := initCtx.deployNNS("deploy"); err != nil {
return err
}