fix(@desktop/wallet): validation of a seed phrase if it contains a word of length 3 fixed
This commit is contained in:
parent
64f167a32d
commit
db1bbef0e1
|
@ -120,6 +120,9 @@ StatusGridView {
|
|||
for (let i = 0; i < words.length; i++) {
|
||||
try {
|
||||
grid.itemAtIndex(i).setWord(words[i])
|
||||
if (words[i].length === 3) {
|
||||
grid.addWord(i + 1, words[i])
|
||||
}
|
||||
} catch (e) {
|
||||
// Getting items outside of the current view might not work
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue