Enable signing taproot transactions with only non_witness_utxos#757
Conversation
Some wallets may only specify the `non_witness_utxo` for a PSBT input. If that's the case, BDK should still be able to sign. This was pointed out in the discussion of bitcoindevkit#734
|
Just tried your branch, works great! PSBT got signed and submitted: |
|
@cryptoquick can you try including these lines in the I used this workaround in bitcoindevkit/bdk-cli#117 and it seems to work |
danielabrozzoni
left a comment
There was a problem hiding this comment.
tACK 5e9965f - the code looks good to me, I played around with the test you provided (inspecting the PSBT, adding/removing the witness and non-witness utxos, etc) and everything works as expected.
Works great, I can use 0.22 in wasm now, thanks! |
Description
Some wallets may only specify the
non_witness_utxofor a PSBT input. If that's the case, BDK should still be able to sign.This was pointed out in the discussion of #734
Changelog notice
non_witness_utxoChecklists
All Submissions:
cargo fmtandcargo clippybefore committingBugfixes: