electrum

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

commit 3b0383128f53f01acc07d7923b915e749c8970c9
parent 8e368d225115df3fcd8c3a415b92307b6556945e
Author: ThomasV <thomasv@electrum.org>
Date:   Sat, 11 Mar 2017 15:51:00 +0100

fix trustedcoin wallet creation

Diffstat:
Mlib/version.py | 2+-
Mplugins/trustedcoin/trustedcoin.py | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/version.py b/lib/version.py @@ -12,5 +12,5 @@ def seed_prefix(seed_type): return SEED_PREFIX elif seed_type == 'segwit': return SEED_PREFIX_SW - elif seed_type == '2Fa': + elif seed_type == '2fa': return SEED_PREFIX_2FA diff --git a/plugins/trustedcoin/trustedcoin.py b/plugins/trustedcoin/trustedcoin.py @@ -332,7 +332,7 @@ class TrustedCoinPlugin(BasePlugin): return True def make_seed(self): - return Mnemonic('english').make_seed(num_bits=128, prefix=SEED_PREFIX) + return Mnemonic('english').make_seed(seed_type='2fa', num_bits=128) @hook def do_clear(self, window):