From 49de400c27821b119b1b43b14522a3bef21ade84 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Tue, 19 Nov 2024 09:13:27 +0100 Subject: [PATCH] 2fa: fix #9312 (regression of 4a37668b01f23c2a1fc46844fc19c7c556f3ec6f) --- electrum/plugins/trustedcoin/trustedcoin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/electrum/plugins/trustedcoin/trustedcoin.py b/electrum/plugins/trustedcoin/trustedcoin.py index a5ecda3b1..4b9d6b7df 100644 --- a/electrum/plugins/trustedcoin/trustedcoin.py +++ b/electrum/plugins/trustedcoin/trustedcoin.py @@ -621,7 +621,8 @@ class TrustedCoinPlugin(BasePlugin): # online continuation xprv1, xpub1, xprv2, xpub2 = (wizard_data['xprv1'], wizard_data['xpub1'], None, wizard_data['xpub2']) else: - xprv1, xpub1, xprv2, xpub2 = self.xkeys_from_seed(wizard_data['seed'], wizard_data['seed_extra_words']) + seed_extension = wizard_data['seed_extra_words'] if wizard_data['seed_extend'] else '' + xprv1, xpub1, xprv2, xpub2 = self.xkeys_from_seed(wizard_data['seed'], seed_extension) data = {'x1': {'xpub': xpub1}, 'x2': {'xpub': xpub2}}