fix #2921
This commit is contained in:
@@ -973,9 +973,3 @@ def bip32_private_key(sequence, k, chain):
|
||||
k, chain = CKD_priv(k, chain, i)
|
||||
return SecretToASecret(k, True)
|
||||
|
||||
|
||||
def xkeys_from_seed(seed, passphrase, derivation):
|
||||
from .mnemonic import Mnemonic
|
||||
xprv, xpub = bip32_root(Mnemonic.mnemonic_to_seed(seed, passphrase), 0)
|
||||
xprv, xpub = bip32_private_derivation(xprv, "m/", derivation)
|
||||
return xprv, xpub
|
||||
|
||||
Reference in New Issue
Block a user