diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2019-02-27 10:53:03 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2019-03-13 20:30:42 +0800 |
commit | 29a0b34786fc7ebfa8f3d9d9c08296a330acc800 (patch) | |
tree | daac3bc543c0264e7f2eb645fb1d9e86c4d7dcd5 | |
parent | 5d565174b7cfd570b3c0dbd2b501148d2cf9f90e (diff) | |
download | tangerine-wallet-browser-29a0b34786fc7ebfa8f3d9d9c08296a330acc800.tar tangerine-wallet-browser-29a0b34786fc7ebfa8f3d9d9c08296a330acc800.tar.gz tangerine-wallet-browser-29a0b34786fc7ebfa8f3d9d9c08296a330acc800.tar.bz2 tangerine-wallet-browser-29a0b34786fc7ebfa8f3d9d9c08296a330acc800.tar.lz tangerine-wallet-browser-29a0b34786fc7ebfa8f3d9d9c08296a330acc800.tar.xz tangerine-wallet-browser-29a0b34786fc7ebfa8f3d9d9c08296a330acc800.tar.zst tangerine-wallet-browser-29a0b34786fc7ebfa8f3d9d9c08296a330acc800.zip |
Allow seed phrases with a trailing newline
-rw-r--r-- | ui/app/components/pages/first-time-flow/create-password/import-with-seed-phrase/import-with-seed-phrase.component.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/pages/first-time-flow/create-password/import-with-seed-phrase/import-with-seed-phrase.component.js b/ui/app/components/pages/first-time-flow/create-password/import-with-seed-phrase/import-with-seed-phrase.component.js index 6b3c03bb3..4ecaa5895 100644 --- a/ui/app/components/pages/first-time-flow/create-password/import-with-seed-phrase/import-with-seed-phrase.component.js +++ b/ui/app/components/pages/first-time-flow/create-password/import-with-seed-phrase/import-with-seed-phrase.component.js @@ -104,7 +104,7 @@ export default class ImportWithSeedPhrase extends PureComponent { const { history, onSubmit } = this.props try { - await onSubmit(password, seedPhrase) + await onSubmit(password, this.parseSeedPhrase(seedPhrase)) this.context.metricsEvent({ eventOpts: { category: 'Onboarding', |