aboutsummaryrefslogtreecommitdiff
path: root/src/node
diff options
context:
space:
mode:
authorGreg Sanders <gsanders87@gmail.com>2022-07-12 10:37:27 -0400
committerGreg Sanders <gsanders87@gmail.com>2022-10-17 11:13:02 -0400
commitd25699280af1ea45bebc884f63a10da7ea275ef9 (patch)
tree153247e252e3d768f941bf3b5af9b06ec36febaa /src/node
parenta52ff619a45c760f657413cbd40e1e2226068541 (diff)
downloadbitcoin-d25699280af1ea45bebc884f63a10da7ea275ef9.tar.xz
Verify PSBT inputs rather than check for fields being empty
Diffstat (limited to 'src/node')
-rw-r--r--src/node/psbt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/psbt.cpp b/src/node/psbt.cpp
index 57162cd679..ca3fc0955d 100644
--- a/src/node/psbt.cpp
+++ b/src/node/psbt.cpp
@@ -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