qt wizard: fix offline 2fa wallet creation in some cases
fixes https://github.com/spesmilo/electrum/issues/9037
This commit is contained in:
@@ -489,7 +489,7 @@ class WCShowConfirmOTP(WizardComponent):
|
||||
if self.wizard.trustedcoin_qhelper.otpSecret:
|
||||
self.secretlabel.setText(self.wizard.trustedcoin_qhelper.otpSecret)
|
||||
uri = 'otpauth://totp/Electrum 2FA %s?secret=%s&digits=6' % (
|
||||
self.wizard_data['wallet_name'], self.wizard.trustedcoin_qhelper.otpSecret)
|
||||
os.path.basename(self.wizard_data['wallet_name']), self.wizard.trustedcoin_qhelper.otpSecret)
|
||||
self.qr.setData(uri)
|
||||
|
||||
def on_busy_changed(self):
|
||||
|
||||
Reference in New Issue
Block a user