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:
commit
7b63d4dbea
@ -104,7 +104,7 @@ export default class ImportWithSeedPhrase extends PureComponent {
|
|||||||
const { history, onSubmit } = this.props
|
const { history, onSubmit } = this.props
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await onSubmit(password, seedPhrase)
|
await onSubmit(password, this.parseSeedPhrase(seedPhrase))
|
||||||
this.context.metricsEvent({
|
this.context.metricsEvent({
|
||||||
eventOpts: {
|
eventOpts: {
|
||||||
category: 'Onboarding',
|
category: 'Onboarding',
|
||||||
|
Loading…
Reference in New Issue
Block a user