From 48e37696b3b28afd67437e4b21590e6101928585 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Fri, 17 Mar 2023 18:31:50 +0000 Subject: [PATCH] qml wizard: fix creating wallet from master key fixes https://github.com/spesmilo/electrum/issues/8260 --- electrum/wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/wizard.py b/electrum/wizard.py index 28173d84c..c8c59b5d7 100644 --- a/electrum/wizard.py +++ b/electrum/wizard.py @@ -235,7 +235,7 @@ class NewWalletWizard(AbstractWizard): raise NotImplementedError() def is_bip39_seed(self, wizard_data): - return wizard_data['seed_variant'] == 'bip39' + return wizard_data.get('seed_variant') == 'bip39' def is_multisig(self, wizard_data): return wizard_data['wallet_type'] == 'multisig'