Use hex for seed encoding

This commit is contained in:
Niels Andriesse 2021-03-05 15:04:39 +11:00
parent b9b3a4b584
commit 2e2ed4ea80
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ final class LinkDeviceVC : BaseVC, UIPageViewControllerDataSource, UIPageViewCon
}
func controller(_ controller: OWSQRCodeScanningViewController, didDetectQRCodeWith string: String) {
guard let seed = string.data(using: .utf8) else { return }
let seed = Data(hex: string)
continueWithSeed(seed)
}