mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 16:01:30 +00:00
fix trustedcoin wallet creation
This commit is contained in:
parent
8e368d2251
commit
3b0383128f
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue