diff --git a/cmd/neofs-adm/internal/modules/morph/generate.go b/cmd/neofs-adm/internal/modules/morph/generate.go index 7b2b5ec608..76941c633b 100644 --- a/cmd/neofs-adm/internal/modules/morph/generate.go +++ b/cmd/neofs-adm/internal/modules/morph/generate.go @@ -109,7 +109,7 @@ func initializeWallets(v *viper.Viper, walletDir string, size int) ([]string, er } for _, w := range wallets { - if err := w.Save(); err != nil { + if err := w.SavePretty(); err != nil { return nil, fmt.Errorf("can't save wallet: %w", err) } w.Close() diff --git a/cmd/neofs-adm/internal/modules/morph/group.go b/cmd/neofs-adm/internal/modules/morph/group.go index 99ddd38f4a..ee887272ba 100644 --- a/cmd/neofs-adm/internal/modules/morph/group.go +++ b/cmd/neofs-adm/internal/modules/morph/group.go @@ -42,7 +42,7 @@ func initializeContractWallet(v *viper.Viper, walletDir string) (*wallet.Wallet, } w.AddAccount(acc) - if err := w.Save(); err != nil { + if err := w.SavePretty(); err != nil { return nil, err }