tfix trustedcoin wallet creation - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 3b0383128f53f01acc07d7923b915e749c8970c9 (DIR) parent 8e368d225115df3fcd8c3a415b92307b6556945e (HTM) Author: ThomasV <thomasv@electrum.org> Date: Sat, 11 Mar 2017 15:51:00 +0100 fix trustedcoin wallet creation Diffstat: M lib/version.py | 2 +- M plugins/trustedcoin/trustedcoin.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- (DIR) diff --git a/lib/version.py b/lib/version.py t@@ -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 (DIR) diff --git a/plugins/trustedcoin/trustedcoin.py b/plugins/trustedcoin/trustedcoin.py t@@ -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):