mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge pull request #6213 from whymarrh/seed-phrase-newline
Allow seed phrases with a trailing newline
This commit is contained in:
commit
7b63d4dbea
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user