Skip to content

Commit

Permalink
feat: Upload SeedPhrase - fix index
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalheartxs committed Oct 17, 2024
1 parent 1b8e507 commit d453e58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Future<void> _showUploadDialog(
final decodedText = utf8.decode(bytes);
final words = decodedText
.split(' ')
.mapIndexed((i, e) => SeedPhraseWord(e, nr: i))
.mapIndexed((i, e) => SeedPhraseWord(e, nr: i + 1))
.toList();
final isValid = SeedPhrase.isValid(
words: words,
Expand Down

0 comments on commit d453e58

Please sign in to comment.