electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 10d26806d9eb88d063e53ac5acd4a89582e83538
parent 2af42168a4d2a4c6c28378618555c9cb4189e2cf
Author: ThomasV <thomasv@electrum.org>
Date:   Fri, 29 Apr 2016 12:52:27 +0200

fix #1175

Diffstat:
Mlib/mnemonic.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/mnemonic.py b/lib/mnemonic.py @@ -106,7 +106,8 @@ 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='en'): + def __init__(self, lang=None): + lang = lang or 'en' print_error('language', lang) filename = filenames.get(lang[0:2], 'english.txt') path = os.path.join(os.path.dirname(__file__), 'wordlist', filename)