1
0

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

This commit is contained in:
Sander van Grieken
2024-10-16 23:04:23 +02:00
parent 85b19ad0ea
commit 0d22994277

View File

@@ -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': {