fix trustedcoin wallet creation
This commit is contained in:
parent
8e368d2251
commit
3b0383128f
|
@ -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
|
||||
|
|
|
@ -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…
Reference in New Issue