ipld/go-ipld-btc

Question about tests

Opened this issue · 0 comments

vmx commented

I'm currently working on https://github.com/ipld/js-ipld-bitcoin. I use go-ipld-btc as a reference and hence port the tests. My knowledge about Bitcoin is really limited, so I've a few questions.

The testdata of TestBip143TxsNativeP2WPKH doesn't decode for me. I tried 2 different JS implementations, both error with an out of bounds error (one at offset=245) when they decode the transactions. Is there anything special about it?

In test TestBip143TxsNativeP2WSH the JS libs don't return any transactions. Any idea why?