Verify PSBT inputs rather than check for fields being empty

This commit is contained in:
Greg Sanders
2022-07-12 10:37:27 -04:00
parent a52ff619a4
commit d25699280a
3 changed files with 37 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ PSBTAnalysis AnalyzePSBT(PartiallySignedTransaction psbtx)
}
// Check if it is final
if (!utxo.IsNull() && !PSBTInputSigned(input)) {
if (!PSBTInputSignedAndVerified(psbtx, i, &txdata)) {
input_analysis.is_final = false;
// Figure out what is missing