Browse Source

trustedcoin: fix check in 2fa wallet setup, when not continuing a unfinished wallet (fixes #9253)

master
Sander van Grieken 1 year ago
parent
commit
0d22994277
No known key found for this signature in database
GPG Key ID: 9BCF8209EA402EBA
  1. 2
      electrum/plugins/trustedcoin/trustedcoin.py

2
electrum/plugins/trustedcoin/trustedcoin.py

@ -598,7 +598,7 @@ class TrustedCoinPlugin(BasePlugin):
'last': lambda d: wizard.is_single_password() and d['trustedcoin_keepordisable'] == 'disable'
},
'trustedcoin_tos': {
'next': lambda d: 'trustedcoin_show_confirm_otp' if is_xprv(d['xprv1'])
'next': lambda d: 'trustedcoin_show_confirm_otp' if 'xprv1' not in d or is_xprv(d['xprv1'])
else 'trustedcoin_keystore_unlock'
},
'trustedcoin_keystore_unlock': {

Loading…
Cancel
Save