1
0

qml: fix wizard_data not available to 'last' check on have seed wizard page

also refactor seed verification, split off seed_variant from seed_type (partial disambiguation),
fix bip39 wallet creation
This commit is contained in:
Sander van Grieken
2022-10-24 12:42:45 +02:00
parent 0a9c100382
commit fac4003354
4 changed files with 28 additions and 29 deletions

View File

@@ -182,7 +182,7 @@ class NewWalletWizard(AbstractWizard):
raise NotImplementedError()
def last_if_single_password_and_not_bip39(self, view, wizard_data):
return self.last_if_single_password(view, wizard_data) and not wizard_data['seed_type'] == 'bip39'
return self.last_if_single_password(view, wizard_data) and not wizard_data['seed_variant'] == 'bip39'
def on_wallet_type(self, wizard_data):
t = wizard_data['wallet_type']