missing chips order randomized
This commit is contained in:
parent
1973e114a4
commit
9e83b5ccfc
|
@ -52,7 +52,7 @@ extension RecoveryPhraseValidationState {
|
|||
/// - Note: Use this function to create a random validation puzzle for a given phrase.
|
||||
static func random(phrase: RecoveryPhrase) -> Self {
|
||||
let missingIndices = Self.randomIndices()
|
||||
let missingWordChipKind = phrase.words(fromMissingIndices: missingIndices)
|
||||
let missingWordChipKind = phrase.words(fromMissingIndices: missingIndices).shuffled()
|
||||
|
||||
return RecoveryPhraseValidationState(
|
||||
phrase: phrase,
|
||||
|
|
Loading…
Reference in New Issue