1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00

Merge pull request #6213 from whymarrh/seed-phrase-newline

Allow seed phrases with a trailing newline
This commit is contained in:
Whymarrh Whitby 2019-03-13 10:56:20 -02:30 committed by GitHub
commit 7b63d4dbea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',