Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Revert incorrectly renamed isValid call
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed Mar 17, 2017
1 parent 1238e73 commit 5e40efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/login/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ app.component('login', {

if (fixedValue === '') {
this.valid = 2;
} else if (fixedValue.split(' ').length < 12 || !mnemonic.isValidPassphrase(fixedValue)) {
} else if (fixedValue.split(' ').length < 12 || !mnemonic.isValid(fixedValue)) {
this.valid = 0;
} else {
this.valid = 1;
Expand Down

0 comments on commit 5e40efe

Please sign in to comment.