You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 15, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 15, 2019. It is now read-only.
13-word passphrase causes error in js console #986
Entering 13-word passphrase should give "Invalid passphrase" error
Actual behaviour
Entering 13-word passphrase causes an error, therefore the input value doesn't update
Uncaught RangeError: Index out of range
at checkInt (index.js:1260)
at Uint8Array.writeUInt8 (index.js:1304)
at Function.Mnemonic.isValid (mnemonic.js:131)
at isValidPassphrase (passphrase.js:92)
at PassphraseInput.handleValueChange (index.js:25)
at Input._this.handleChange (Input.js:74)
at HTMLUnknownElement.callCallback (react-dom.development.js:1299)
at Object.invokeGuardedCallbackDev (react-dom.development.js:1338)
at Object.invokeGuardedCallback (react-dom.development.js:1195)
at Object.invokeGuardedCallbackAndCatchFirstError (react-dom.development.js:1209)
Steps to reproduce
Open nano
enter 12-word passphrase, e.g.awkward service glimpse punch genre calm grow life bullet boil match like
Expected behaviour
Entering 13-word passphrase should give "Invalid passphrase" error
Actual behaviour
Entering 13-word passphrase causes an error, therefore the input value doesn't update
Steps to reproduce
awkward service glimpse punch genre calm grow life bullet boil match likelife