trustWitnessUtxo
Whether the signer should trust the witness_utxo
, if the non_witness_utxo
hasn't been provided
Defaults to false
to mitigate the "SegWit bug" which could trick the wallet into paying a fee larger than expected.
Some wallets, especially if relatively old, might not provide the non_witness_utxo
for SegWit transactions in the PSBT they generate: in those cases setting this to true
should correctly produce a signature, at the expense of an increased trust in the creator of the PSBT.
For more details see: https://blog.trezor.io/details-of-firmware-updates-for-trezor-one-version-1-9-1-and-trezor-model-t-version-2-3-1-1eba8f60f2dd