bip32: refactor whole module. clean-up.
This commit is contained in:
@@ -126,7 +126,7 @@ class Mnemonic(object):
|
||||
print_error("wordlist has %d words"%len(self.wordlist))
|
||||
|
||||
@classmethod
|
||||
def mnemonic_to_seed(self, mnemonic, passphrase):
|
||||
def mnemonic_to_seed(self, mnemonic, passphrase) -> bytes:
|
||||
PBKDF2_ROUNDS = 2048
|
||||
mnemonic = normalize_text(mnemonic)
|
||||
passphrase = passphrase or ''
|
||||
|
||||
Reference in New Issue
Block a user