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

Doubt in TODO: TxWitnessInput/Script can take objects and call the appr. method to hexlify after inspecting the obj #90

Closed iamhardikat11 closed 5 months ago

iamhardikat11 commented 5 months ago

My Question is that when we create a object for TxWitnessInput/Script class, we need lists as inputs for both of them, so do you wish for all the items of the list to made into hex, like by using to_hex().

karask commented 5 months ago

Hi @iamhardikat11

Please ignore this TODO. I will remove it. The rationale was to simplify calling the class but I'd rather users explicitly put the proper values there.