change bip44 coin constant to 133 (Zcash)
This commit is contained in:
parent
f7be1a03f9
commit
a154b9c2b6
|
@ -671,9 +671,9 @@ is_private_key = lambda x: is_xprv(x) or is_private_key_list(x)
|
||||||
is_bip32_key = lambda x: is_xprv(x) or is_xpub(x)
|
is_bip32_key = lambda x: is_xprv(x) or is_xpub(x)
|
||||||
|
|
||||||
|
|
||||||
def bip44_derivation(account_id, segwit=False):
|
def bip44_derivation(account_id):
|
||||||
bip = 49 if segwit else 44
|
bip = 44
|
||||||
coin = 1 if bitcoin.NetworkConstants.TESTNET else 0
|
coin = 1 if bitcoin.NetworkConstants.TESTNET else 133
|
||||||
return "m/%d'/%d'/%d'" % (bip, coin, int(account_id))
|
return "m/%d'/%d'/%d'" % (bip, coin, int(account_id))
|
||||||
|
|
||||||
def from_seed(seed, passphrase, is_p2sh):
|
def from_seed(seed, passphrase, is_p2sh):
|
||||||
|
|
Loading…
Reference in New Issue