From 7164cdd426c1ef56926e1f0b2d2b8069d3403c5e Mon Sep 17 00:00:00 2001 From: kehiy Date: Sat, 24 Aug 2024 15:05:30 +0330 Subject: [PATCH 1/2] fix(wallet-cmd): adding ed25519_account in help and set as default --- cmd/wallet/address.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/wallet/address.go b/cmd/wallet/address.go index 1134e520a..ab0a2bce0 100644 --- a/cmd/wallet/address.go +++ b/cmd/wallet/address.go @@ -74,7 +74,7 @@ func buildNewAddressCmd(parentCmd *cobra.Command) { parentCmd.AddCommand(newAddressCmd) addressType := newAddressCmd.Flags().String("type", - wallet.AddressTypeBLSAccount, "the type of address: bls_account or validator") + wallet.AddressTypeEd25519Account, "the type of address: bls_account, ed25519_account and validator") newAddressCmd.Run = func(_ *cobra.Command, _ []string) { var addressInfo *vault.AddressInfo From 687e7da38e5481155a863293863e8fca01768d3e Mon Sep 17 00:00:00 2001 From: K Date: Sat, 14 Sep 2024 12:38:30 +0330 Subject: [PATCH 2/2] Update address.go --- cmd/wallet/address.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/wallet/address.go b/cmd/wallet/address.go index 490f3b56c..023169c04 100644 --- a/cmd/wallet/address.go +++ b/cmd/wallet/address.go @@ -74,7 +74,7 @@ func buildNewAddressCmd(parentCmd *cobra.Command) { parentCmd.AddCommand(newAddressCmd) addressType := newAddressCmd.Flags().String("type", - wallet.AddressTypeEd25519Account, "the type of address: bls_account, ed25519_account and validator") + wallet.AddressTypeBLSAccount, "the type of address: bls_account, ed25519_account and validator") newAddressCmd.Run = func(_ *cobra.Command, _ []string) { var addressInfo *vault.AddressInfo