Update api.go

This commit is contained in:
PolyMa 2023-11-30 18:56:08 +08:00 committed by GitHub
parent f94c18ed98
commit d0e66b1ee1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -454,7 +454,7 @@ func (api *SignerAPI) newAccount() (common.Address, error) {
break break
} }
if confirmResp.Text != resp.Text { if confirmResp.Text != resp.Text {
api.UI.ShowError("Passwords do not match! Please retry again.") api.UI.ShowError("Passwords do not match! Please try again.")
break break
} else { } else {
acc, err := be[0].(*keystore.KeyStore).NewAccount(resp.Text) acc, err := be[0].(*keystore.KeyStore).NewAccount(resp.Text)