karask / python-bitcoin-utils

Library to interact with the Bitcoin network. Ideal for low-level learning and experimenting.
MIT License
271 stars 102 forks source link

Bug in creating HDWallet with mnemonic #40

Closed josh-davis-vicinft closed 1 year ago

josh-davis-vicinft commented 1 year ago

Line 50 in bitcoinutils/hdwallet.py should be self.hdw.from_mnemonic(mnemonic=mnemonic) instead of self.hdw.from_xprivate_key(mnemonic=mnemonic).

karask commented 1 year ago

Thanks! Did a quick commit in master. I don't have much time now but I will soon commit a new release (that includes full taproot support) and I will add proper tests for hdwallet functionality there.