aboutsummaryrefslogtreecommitdiff
path: root/src/script/sign.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2018-08-08 14:18:55 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2018-08-13 08:21:16 -0700
commit8254e9950f67d750c7f5905bfdef526d825965ed (patch)
tree83989eff3953e9813857213e34e744900c072c47 /src/script/sign.h
parentc05712cb590c8c76729a71d75a290c67ae9e3c06 (diff)
Additional sanity checks in SignPSBTInput
Diffstat (limited to 'src/script/sign.h')
-rw-r--r--src/script/sign.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/sign.h b/src/script/sign.h
index 24cddda51b..d2033af731 100644
--- a/src/script/sign.h
+++ b/src/script/sign.h
@@ -678,7 +678,7 @@ bool ProduceSignature(const SigningProvider& provider, const BaseSignatureCreato
bool SignSignature(const SigningProvider &provider, const CScript& fromPubKey, CMutableTransaction& txTo, unsigned int nIn, const CAmount& amount, int nHashType);
bool SignSignature(const SigningProvider &provider, const CTransaction& txFrom, CMutableTransaction& txTo, unsigned int nIn, int nHashType);
-/** Signs a PSBTInput */
+/** Signs a PSBTInput, verifying that all provided data matches what is being signed. */
bool SignPSBTInput(const SigningProvider& provider, const CMutableTransaction& tx, PSBTInput& input, SignatureData& sigdata, int index, int sighash = 1);
/** Extract signature data from a transaction input, and insert it. */