mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Allow seed phrases with a trailing newline
This commit is contained in:
parent
5d565174b7
commit
29a0b34786
@ -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