We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f46465b commit b408b87Copy full SHA for b408b87
Bitkit/Services/MigrationsService.swift
@@ -448,7 +448,9 @@ extension MigrationsService {
448
throw AppError(message: "Invalid mnemonic: \(words.count) words", debugMessage: nil)
449
}
450
451
- guard BitkitCore.validateMnemonic(mnemonic) else {
+ do {
452
+ try validateMnemonic(mnemonicPhrase: mnemonic)
453
+ } catch {
454
throw AppError(message: "Invalid BIP39 mnemonic", debugMessage: nil)
455
456
0 commit comments