From 01bbc955e84f41958928a7908bdb60903d5ce722 Mon Sep 17 00:00:00 2001 From: Javad Date: Sun, 6 Oct 2024 09:29:45 +0330 Subject: [PATCH] fix: change to prompt password for masking --- 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 023169c04..3317539d9 100644 --- a/cmd/wallet/address.go +++ b/cmd/wallet/address.go @@ -89,7 +89,7 @@ func buildNewAddressCmd(parentCmd *cobra.Command) { } else if *addressType == wallet.AddressTypeEd25519Account { password := "" if wlt.IsEncrypted() { - password = cmd.PromptInput("Password") + password = cmd.PromptPassword("Password", false) } addressInfo, err = wlt.NewEd25519AccountAddress(label, password) } else if *addressType == wallet.AddressTypeValidator {