Wallets that include the fix for the CVE-2020-14199 vulnerability always include the full non-witness UTXO even if the output being spent is a witness output.
To restore compatibility with those wallets, Bitcoin Core removed the sanity checks on partial inputs.
This PR does the same for the btcutil/psbt library.
Fixes https://github.com/lightningnetwork/lnd/issues/4400.
Wallets that include the fix for the CVE-2020-14199 vulnerability always include the full non-witness UTXO even if the output being spent is a witness output. To restore compatibility with those wallets, Bitcoin Core removed the sanity checks on partial inputs. This PR does the same for the
btcutil/psbt
library.