fix trustedcoin wallet creation

This commit is contained in:
ThomasV 2017-03-11 15:51:00 +01:00
parent 8e368d2251
commit 3b0383128f
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

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