aboutsummaryrefslogtreecommitdiff
path: root/src/script/sign.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-11-04 13:59:41 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2014-11-04 13:59:41 -0800
commit1f847936c9622f53fca25a1174961a799174b7fd (patch)
treeba434b5f34c856c03e20253b759d9efb22fa61d8 /src/script/sign.h
parent06037f3f46463e65ab74e0f34ba5f7a869d053fd (diff)
Avoid a bunch of copying/conversion in script/sign
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 c84d3f9a94..99d5516adb 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