diff options
| author | Pieter Wuille <[email protected]> | 2014-11-04 13:59:41 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-11-04 13:59:41 -0800 |
| commit | 1f847936c9622f53fca25a1174961a799174b7fd (patch) | |
| tree | ba434b5f34c856c03e20253b759d9efb22fa61d8 /src/script/sign.h | |
| parent | Merge pull request #5007 (diff) | |
| download | discoin-1f847936c9622f53fca25a1174961a799174b7fd.tar.xz discoin-1f847936c9622f53fca25a1174961a799174b7fd.zip | |
Avoid a bunch of copying/conversion in script/sign
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 c84d3f9a9..99d5516ad 100644 --- a/src/script/sign.h +++ b/src/script/sign.h @@ -19,6 +19,6 @@ bool SignSignature(const CKeyStore& keystore, const CTransaction& txFrom, CMutab // Given two sets of signatures for scriptPubKey, possibly with OP_0 placeholders, // combine them intelligently and return the result. -CScript CombineSignatures(CScript scriptPubKey, const CTransaction& txTo, unsigned int nIn, const CScript& scriptSig1, const CScript& scriptSig2); +CScript CombineSignatures(const CScript& scriptPubKey, const CTransaction& txTo, unsigned int nIn, const CScript& scriptSig1, const CScript& scriptSig2); #endif // BITCOIN_SCRIPT_SIGN_H |