diff options
| author | Gavin Andresen <[email protected]> | 2012-01-04 17:31:21 -0500 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2012-01-13 10:20:42 -0500 |
| commit | d11a58a2d39b90dfe27d3a696b3977b87d7c8113 (patch) | |
| tree | b1954fff1ab41312beccffa6ef5859fffe508df6 /src/script.h | |
| parent | Merge branch 'getmininginfo' of https://github.com/luke-jr/bitcoin (diff) | |
| download | discoin-d11a58a2d39b90dfe27d3a696b3977b87d7c8113.tar.xz discoin-d11a58a2d39b90dfe27d3a696b3977b87d7c8113.zip | |
Remove not-used-anywhere scriptPrereq from SignSignature()
Diffstat (limited to 'src/script.h')
| -rw-r--r-- | src/script.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script.h b/src/script.h index 0080f5b72..64171c719 100644 --- a/src/script.h +++ b/src/script.h @@ -574,7 +574,7 @@ bool IsStandard(const CScript& scriptPubKey); bool IsMine(const CKeyStore& keystore, const CScript& scriptPubKey); bool ExtractAddress(const CScript& scriptPubKey, CBitcoinAddress& addressRet); bool ExtractAddresses(const CScript& scriptPubKey, txnouttype& typeRet, std::vector<CBitcoinAddress>& addressRet, int& nRequiredRet); -bool SignSignature(const CKeyStore& keystore, const CTransaction& txFrom, CTransaction& txTo, unsigned int nIn, int nHashType=SIGHASH_ALL, CScript scriptPrereq=CScript()); +bool SignSignature(const CKeyStore& keystore, const CTransaction& txFrom, CTransaction& txTo, unsigned int nIn, int nHashType=SIGHASH_ALL); bool VerifySignature(const CTransaction& txFrom, const CTransaction& txTo, unsigned int nIn, int& nSigOpCountRet, int nHashType=0, bool fStrictOpEval=true); #endif |