1
0
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:
Whymarrh Whitby 2019-02-26 23:23:03 -03:30
parent 5d565174b7
commit 29a0b34786

View File

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