diff options
| author | Pieter Wuille <[email protected]> | 2018-08-08 14:18:55 -0700 |
|---|---|---|
| committer | fanquake <[email protected]> | 2018-08-15 10:00:13 +0800 |
| commit | ad6d845ac9d43aac663fa46912b49aaf837a1a9e (patch) | |
| tree | 43b86015049ff67a116b393fa26ac3d01e857951 /src/script/sign.h | |
| parent | Serialize non-witness utxo as a non-witness tx but always deserialize as witness (diff) | |
| download | discoin-ad6d845ac9d43aac663fa46912b49aaf837a1a9e.tar.xz discoin-ad6d845ac9d43aac663fa46912b49aaf837a1a9e.zip | |
Additional sanity checks in SignPSBTInput
GitHub-Pull: #13917
Rebased-From: 8254e99
Diffstat (limited to 'src/script/sign.h')
| -rw-r--r-- | src/script/sign.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/sign.h b/src/script/sign.h index 80fda617e..7ade715ee 100644 --- a/src/script/sign.h +++ b/src/script/sign.h @@ -686,7 +686,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. */ |