commit b1f27d7e8439438978d713cc104a8be57a429c3e
parent bc31d83466ce649675605a8946a3bb26ab909aeb
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 26 Feb 2017 08:27:25 +0100
fix: missing parameter
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bitcoin.py b/lib/bitcoin.py
@@ -835,6 +835,6 @@ def bip32_private_key(sequence, k, chain):
def xkeys_from_seed(seed, passphrase, derivation):
from mnemonic import Mnemonic
- xprv, xpub = bip32_root(Mnemonic.mnemonic_to_seed(seed, passphrase))
+ xprv, xpub = bip32_root(Mnemonic.mnemonic_to_seed(seed, passphrase), 0)
xprv, xpub = bip32_private_derivation(xprv, "m/", derivation)
return xprv, xpub