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
… ges/first-time-flow/create-password/import-with-seed-phrase/import-with-seed-phrase.component.js in parseSeedPhrase at line 81:38
return seedPhrase.trim().match(/\w+/g).join(' ');
Seems like some kind of issue with seed phrase imports.
The regex .w+ seems to match words, and so I guess this error is when people enter blank seed phrases. What isn't clear is why this suddenly spiked with version 6.6.0
The text was updated successfully, but these errors were encountered:
FixesMetaMask#6694
This changeset fixes our parsing of seed phrases during import to handle the
case where a user tries to import a seed phrase that consists solely of whitespace.
We no longer produce an error and instead treat it as an incorrect seed phrase.
* Add tests for ImportWithSeedPhrase#parseSeedPhrase
* Handle importing whitespace-only seed phrases
Fixes#6694
This changeset fixes our parsing of seed phrases during import to handle the
case where a user tries to import a seed phrase that consists solely of whitespace.
We no longer produce an error and instead treat it as an incorrect seed phrase.
* Handle importing more invalid seed phrases
Seems new as of 6.6.0:
https://sentry.io/share/issue/a2e67b2f041d41f2b939e1ea5a7298be/
TypeError
Cannot read property 'join' of null
… ges/first-time-flow/create-password/import-with-seed-phrase/import-with-seed-phrase.component.js in parseSeedPhrase at line 81:38
return seedPhrase.trim().match(/\w+/g).join(' ');
Seems like some kind of issue with seed phrase imports.
The regex
.w+
seems to match words, and so I guess this error is when people enter blank seed phrases. What isn't clear is why this suddenly spiked with version 6.6.0The text was updated successfully, but these errors were encountered: