Skip to content

Commit

Permalink
fixed extr /m in bip32_path
Browse files Browse the repository at this point in the history
  • Loading branch information
ranaroussi committed Nov 25, 2017
1 parent 3f514ba commit ddc1170
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pywallet/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.4"
__version__ = "0.0.5"
2 changes: 1 addition & 1 deletion pywallet/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ddc1170

Please sign in to comment.