mnemonic: rename seed_type() fn
Some functions have an argument named "seed_type" in which it was annoying to call the seed_type() fn. (especially for functions inside the same module)
This commit is contained in:
@@ -489,7 +489,7 @@ class NewWalletWizard(AbstractWizard):
|
||||
can_passphrase = True
|
||||
|
||||
if seed_variant == 'electrum':
|
||||
seed_type = mnemonic.seed_type(seed)
|
||||
seed_type = mnemonic.calc_seed_type(seed)
|
||||
if seed_type != '':
|
||||
seed_valid = True
|
||||
can_passphrase = can_seed_have_passphrase(seed)
|
||||
|
||||
Reference in New Issue
Block a user