aboutsummaryrefslogtreecommitdiff
path: root/src/test/script_tests.cpp
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2013-10-16 17:53:31 -0700
committerGavin Andresen <[email protected]>2013-10-16 17:53:31 -0700
commit5a8a4be28949fd0531ae5ea8e21c713373e22c01 (patch)
tree42de05d5c4737d057aa35dd95319d8a32d618bcd /src/test/script_tests.cpp
parentMerge pull request #3098 from super3/master (diff)
parentInline signature serializer (diff)
downloaddiscoin-5a8a4be28949fd0531ae5ea8e21c713373e22c01.tar.xz
discoin-5a8a4be28949fd0531ae5ea8e21c713373e22c01.zip
Merge pull request #2645 from sipa/inlinesighash
Inline signature serializer
Diffstat (limited to 'src/test/script_tests.cpp')
-rw-r--r--src/test/script_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/script_tests.cpp b/src/test/script_tests.cpp
index dfa5529b8..32be91441 100644
--- a/src/test/script_tests.cpp
+++ b/src/test/script_tests.cpp
@@ -21,7 +21,7 @@ using namespace std;
using namespace json_spirit;
using namespace boost::algorithm;
-extern uint256 SignatureHash(CScript scriptCode, const CTransaction& txTo, unsigned int nIn, int nHashType);
+extern uint256 SignatureHash(const CScript &scriptCode, const CTransaction& txTo, unsigned int nIn, int nHashType);
static const unsigned int flags = SCRIPT_VERIFY_P2SH | SCRIPT_VERIFY_STRICTENC;