Skip to content

In /setup, confirm backup seed, ignore leading/trailing whitespace #125

@sgornick

Description

@sgornick

When confirming the backup seed, any leading or trailing whitespace will result in the error: "Some of the words are incorrect. Please try again or restart setup."

There is no valid case where leading or trailing whitespace would be used, so trimming the variable before testing for equivalency would help the user who leaves a leading and/or trailing space on the word.

This occurred with me because I was doing a copy / paste of the 12 word string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions