fix #2351
This commit is contained in:
@@ -650,7 +650,7 @@ 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):
|
def bip44_derivation(account_id):
|
||||||
if TESTNET:
|
if bitcoin.TESTNET:
|
||||||
return "m/44'/1'/%d'"% int(account_id)
|
return "m/44'/1'/%d'"% int(account_id)
|
||||||
else:
|
else:
|
||||||
return "m/44'/0'/%d'"% int(account_id)
|
return "m/44'/0'/%d'"% int(account_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user