diff options
| author | Gavin Andresen <[email protected]> | 2013-10-16 17:53:31 -0700 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2013-10-16 17:53:31 -0700 |
| commit | 5a8a4be28949fd0531ae5ea8e21c713373e22c01 (patch) | |
| tree | 42de05d5c4737d057aa35dd95319d8a32d618bcd /src/test/script_tests.cpp | |
| parent | Merge pull request #3098 from super3/master (diff) | |
| parent | Inline signature serializer (diff) | |
| download | discoin-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.cpp | 2 |
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; |