fixed extr /m in bip32_path

This commit is contained in:
ran 2017-11-25 11:20:54 +02:00
parent 3f514ba8a1
commit ddc1170638
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
__version__ = "0.0.4"
__version__ = "0.0.5"

View File

@ -52,7 +52,7 @@ def create_address(network='btctest', xpub=None, child=None, path=0):
return {
"path": "m/" + str(wallet_obj.child_number) + "/" +str(child_wallet.child_number),
"bip32_path": "m/" + net.BIP32_PATH + str(wallet_obj.child_number) + "/" +str(child_wallet.child_number),
"bip32_path": net.BIP32_PATH + str(wallet_obj.child_number) + "/" +str(child_wallet.child_number),
"address": child_wallet.to_address(),
# "xpublic_key": child_wallet.serialize_b58(private=False),
# "wif": child_wallet.export_to_wif() # needs private key