chainside / btcnodejs

A Nodejs SegWit-compliant library which provides tools to handle Bitcoin data structures in a simple fashion.
https://www.chainside.net
GNU Lesser General Public License v3.0
37 stars 13 forks source link

Add convenience Witness.fromHexArray method #3

Closed nikolai-b closed 6 years ago

nikolai-b commented 6 years ago

Minor but the other Structs have a fromHex method. The test is probably overkill but :man_shrugging:

d0ze commented 6 years ago

This is a good feature, thank you for the PRs ! I will review and test locally also the other two and then merge everything soon.