tfix qt seed dialog (follow-up af86c7e3fdc80cace11de331abafddc012f36867) - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 6e3875ceabf75ee96e722358bcff33f883dddbf5 (DIR) parent 600b26eed61ba9ffa21179428263aa86e5ab0890 (HTM) Author: SomberNight <somber.night@protonmail.com> Date: Fri, 15 Nov 2019 23:50:05 +0100 fix qt seed dialog (follow-up af86c7e3fdc80cace11de331abafddc012f36867) Diffstat: M electrum/gui/qt/seed_dialog.py | 2 +- M electrum/mnemonic.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- (DIR) diff --git a/electrum/gui/qt/seed_dialog.py b/electrum/gui/qt/seed_dialog.py t@@ -152,7 +152,7 @@ class SeedLayout(QVBoxLayout): bip39_english_list = Mnemonic('en').wordlist old_list = electrum.old_mnemonic.words only_old_list = set(old_list) - set(bip39_english_list) - self.wordlist = bip39_english_list + list(only_old_list) # concat both lists + self.wordlist = list(bip39_english_list) + list(only_old_list) # concat both lists self.wordlist.sort() class CompleterDelegate(QStyledItemDelegate): (DIR) diff --git a/electrum/mnemonic.py b/electrum/mnemonic.py t@@ -93,7 +93,7 @@ def normalize_text(seed: str) -> str: _WORDLIST_CACHE = {} -def load_wordlist(filename): +def load_wordlist(filename) -> tuple: path = resource_path('wordlist', filename) if path not in _WORDLIST_CACHE: with open(path, 'r', encoding='utf-8') as f: