Skip to content

Commit

Permalink
fix(wallet): change to prompt password for masking (#1527)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ja7ad authored Oct 6, 2024
1 parent 25836f1 commit beb51df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/wallet/address.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit beb51df

Please sign in to comment.