mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Verify PSBT inputs rather than check for fields being empty
This commit is contained in:
parent
a52ff619a4
commit
d25699280a
3 changed files with 37 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue