1
0

mnemonic: add type hints

This commit is contained in:
SomberNight
2024-01-22 01:13:21 +00:00
parent fe03fbf2a0
commit 7007a0c1c9
3 changed files with 17 additions and 16 deletions

View File

@@ -1159,7 +1159,7 @@ def from_seed(seed, passphrase, is_p2sh=False):
keystore = BIP32_KeyStore({})
keystore.add_seed(seed)
keystore.passphrase = passphrase
bip32_seed = Mnemonic.mnemonic_to_seed(seed, passphrase)
bip32_seed = Mnemonic.mnemonic_to_seed(seed, passphrase=passphrase)
if t == 'standard':
der = "m/"
xtype = 'standard'