1
0

mnemonic.make_seed: de-duplicate num_bits default magic number

This commit is contained in:
SomberNight
2020-12-08 10:00:34 +01:00
parent 376ee395f8
commit 933d8861ce
6 changed files with 13 additions and 12 deletions

View File

@@ -524,7 +524,7 @@ class TrustedCoinPlugin(BasePlugin):
def make_seed(self, seed_type):
if not is_any_2fa_seed_type(seed_type):
raise Exception(f'unexpected seed type: {seed_type}')
return Mnemonic('english').make_seed(seed_type=seed_type, num_bits=128)
return Mnemonic('english').make_seed(seed_type=seed_type)
@hook
def do_clear(self, window):