aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2019-03-13 21:26:20 +0800
committerGitHub <noreply@github.com>2019-03-13 21:26:20 +0800
commit7b63d4dbea3f780d1af0d267987acfb5500e3e6d (patch)
treedaac3bc543c0264e7f2eb645fb1d9e86c4d7dcd5
parent5d565174b7cfd570b3c0dbd2b501148d2cf9f90e (diff)
parent29a0b34786fc7ebfa8f3d9d9c08296a330acc800 (diff)
downloadtangerine-wallet-browser-7b63d4dbea3f780d1af0d267987acfb5500e3e6d.tar
tangerine-wallet-browser-7b63d4dbea3f780d1af0d267987acfb5500e3e6d.tar.gz
tangerine-wallet-browser-7b63d4dbea3f780d1af0d267987acfb5500e3e6d.tar.bz2
tangerine-wallet-browser-7b63d4dbea3f780d1af0d267987acfb5500e3e6d.tar.lz
tangerine-wallet-browser-7b63d4dbea3f780d1af0d267987acfb5500e3e6d.tar.xz
tangerine-wallet-browser-7b63d4dbea3f780d1af0d267987acfb5500e3e6d.tar.zst
tangerine-wallet-browser-7b63d4dbea3f780d1af0d267987acfb5500e3e6d.zip
Merge pull request #6213 from whymarrh/seed-phrase-newline
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.js2
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',