tby default, always use English mnemonic - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit e461ef4102994a512ca9d882740342681997595f
DIR parent 639e147b35cf61a32f03ee75893c99cb247c2147
HTML Author: ThomasV <thomasv@electrum.org>
Date: Tue, 12 Apr 2016 20:08:16 +0200
by default, always use English mnemonic
Diffstat:
M lib/mnemonic.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
DIR diff --git a/lib/mnemonic.py b/lib/mnemonic.py
t@@ -106,9 +106,7 @@ class Mnemonic(object):
# Seed derivation no longer follows BIP39
# Mnemonic phrase uses a hash based checksum, instead of a wordlist-dependent checksum
- def __init__(self, lang=None):
- if lang in [None, '']:
- lang = i18n.language.info().get('language', 'en')
+ def __init__(self, lang='en'):
print_error('language', lang)
filename = filenames.get(lang[0:2], 'english.txt')
path = os.path.join(os.path.dirname(__file__), 'wordlist', filename)