Browse Source

fix trustedcoin wallet creation

283
ThomasV 8 years ago
parent
commit
3b0383128f
  1. 2
      lib/version.py
  2. 2
      plugins/trustedcoin/trustedcoin.py

2
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

2
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):

Loading…
Cancel
Save