]> Untitled Git - bdk/commit
Enable signing taproot transactions with only `non_witness_utxos`
authorAlekos Filini <alekos.filini@gmail.com>
Mon, 19 Sep 2022 08:54:55 +0000 (10:54 +0200)
committerAlekos Filini <alekos.filini@gmail.com>
Mon, 19 Sep 2022 08:54:55 +0000 (10:54 +0200)
commit5e9965fca7fb50708af0d293a9f6cd27d0c85fed
tree29787700d30bb2e5086dfd4360c9d2a4a2644ff1
parentdfeb08fa00030a41604bb9aac29fb2b9656259f4
Enable signing taproot transactions with only `non_witness_utxos`

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 #734
src/wallet/mod.rs
src/wallet/signer.rs