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

Changes in transaction.py #77

Closed guptamukund22 closed 5 months ago

guptamukund22 commented 5 months ago

In function get_transaction_segwit_digest , transaction is no longer copied (Code works well even without copying the transaction) . Also in struct.pack, unsigned long is changed to unsigned int. (<I for unsigned int, is explicitly used for 4 bytes in Python's struct module rather than <L).