bitcoinjs-lib
bitcoinjs-lib copied to clipboard
Export witnessStackToScriptWitness
For PSBT signing, the witnessStackToScriptWitness
and witnessStackToScriptWitness
functions are useful for apps trying to spend from custom scripts.
As it is not exported, it is being duplicated for the users of bitcoinjs-lib
. Is it a good idea to export these?
We are signing HTLC redeem transaction at Nimiq, and we are duplicating these methods in our code. If they can be exported, that would be great!
More discussion welcome in #1862, close this issue