keystore: API changes for from_seed/from_bip43_rootseed/bip39_to_seed
- force kwargs - add type hints
This commit is contained in:
@@ -27,7 +27,7 @@ network.start()
|
||||
async def f():
|
||||
try:
|
||||
def get_account_xpub(account_path):
|
||||
root_seed = bip39_to_seed(mnemonic, passphrase)
|
||||
root_seed = bip39_to_seed(mnemonic, passphrase=passphrase)
|
||||
root_node = BIP32Node.from_rootseed(root_seed, xtype="standard")
|
||||
account_node = root_node.subkey_at_private_derivation(account_path)
|
||||
account_xpub = account_node.to_xpub()
|
||||
|
||||
Reference in New Issue
Block a user