Closed simongltr closed 10 months ago
You're missing leafHashes
.
The PSBT needs to know which leaves of the tapscript you are using.
If you are not doing a script spend but are doing a key spend, then you don't need to use tapBip32Derivation
Oh okay, I'm doing a key spend ...
Thank you !
I'm using bitcoinjs-lib@6.1.5 this node v20.6.1 I did read the transactions integration tests
I can't generate a taproot PSBT including
tapBip32Derivation
because I get this error:The exact same code using
bip32Derivation
works.I don't know if this error is due to my lack of understanding of nodejs buffers or something else, but I already spent hours trying to convert my buffers so I'm asking here ...
My code:
Thank you for the help ! Simon