karask / python-bitcoin-utils

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

TODO : In util.py #78

Closed guptamukund22 closed 2 months ago

guptamukund22 commented 2 months ago

In function ,get_tag_hashed_merkle_root , error is now raised if branch node contains more than two elements. Should errors be thrown elsewhere as well in the function?

guptamukund22 commented 2 months ago

New Change made , bothi_to_b and byte32_from_int performed the same function . Removed byte32_from_int(as mentioned) in TODO. TODO file is also updated.