|
|
@ -268,7 +268,7 @@ private final class RecoveryPhraseVC : UIViewController {
|
|
|
|
alert.addAction(UIAlertAction(title: NSLocalizedString("OK", comment: ""), style: .default, handler: nil))
|
|
|
|
alert.addAction(UIAlertAction(title: NSLocalizedString("OK", comment: ""), style: .default, handler: nil))
|
|
|
|
presentAlert(alert)
|
|
|
|
presentAlert(alert)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
let mnemonic = mnemonicTextView.text!
|
|
|
|
let mnemonic = mnemonicTextView.text!.lowercased()
|
|
|
|
do {
|
|
|
|
do {
|
|
|
|
let hexEncodedSeed = try Mnemonic.decode(mnemonic: mnemonic)
|
|
|
|
let hexEncodedSeed = try Mnemonic.decode(mnemonic: mnemonic)
|
|
|
|
let seed = Data(hex: hexEncodedSeed)
|
|
|
|
let seed = Data(hex: hexEncodedSeed)
|
|
|
|