This commit is contained in:
ThomasV 2017-04-05 15:55:15 +02:00
parent 0bc777a10c
commit a8be1aeae8
1 changed files with 1 additions and 1 deletions

View File

@ -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)
def bip44_derivation(account_id):
if TESTNET:
if bitcoin.TESTNET:
return "m/44'/1'/%d'"% int(account_id)
else:
return "m/44'/0'/%d'"% int(account_id)