aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--old-ui/app/keychains/hd/restore-vault.js2
-rw-r--r--ui/app/keychains/hd/restore-vault.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/old-ui/app/keychains/hd/restore-vault.js b/old-ui/app/keychains/hd/restore-vault.js
index dcadcccad..ce39a1e7c 100644
--- a/old-ui/app/keychains/hd/restore-vault.js
+++ b/old-ui/app/keychains/hd/restore-vault.js
@@ -148,7 +148,7 @@ RestoreVaultScreen.prototype.createNewVaultAndRestore = function () {
return
}
// true if seed contains a character that is not between a-z or a space
- if(!seed.match(/^[a-z ]+$/)) {
+ if (!seed.match(/^[a-z ]+$/)) {
this.warning = 'seed words only have lowercase characters'
this.props.dispatch(actions.displayWarning(this.warning))
return
diff --git a/ui/app/keychains/hd/restore-vault.js b/ui/app/keychains/hd/restore-vault.js
index 6c8f6cdb0..685094854 100644
--- a/ui/app/keychains/hd/restore-vault.js
+++ b/ui/app/keychains/hd/restore-vault.js
@@ -152,7 +152,7 @@ RestoreVaultScreen.prototype.createNewVaultAndRestore = function () {
return
}
// true if seed contains a character that is not between a-z or a space
- if(!seed.match(/^[a-z ]+$/)) {
+ if (!seed.match(/^[a-z ]+$/)) {
this.warning = 'seed words only have lowercase characters'
this.props.dispatch(actions.displayWarning(this.warning))
return