aboutsummaryrefslogtreecommitdiff
path: root/src/test/sighash_tests.cpp
diff options
context:
space:
mode:
authorjtimon <jtimon@monetize.io>2014-08-01 17:45:09 +0200
committerjtimon <jtimon@monetize.io>2014-08-01 17:45:09 +0200
commitf5745fa52a66ab9ba976e06de4881e981d9aa6b4 (patch)
tree86e02367ad7881e809605be1ec3a93e20996c4f1 /src/test/sighash_tests.cpp
parentc0e9548b6305d315735ecd6dacc3c88acd6a6c7a (diff)
Declare SignatureHash() in script.h
Diffstat (limited to 'src/test/sighash_tests.cpp')
-rw-r--r--src/test/sighash_tests.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/sighash_tests.cpp b/src/test/sighash_tests.cpp
index b99797fccb..bff151cdda 100644
--- a/src/test/sighash_tests.cpp
+++ b/src/test/sighash_tests.cpp
@@ -6,6 +6,7 @@
#include "main.h"
#include "random.h"
#include "serialize.h"
+#include "script.h"
#include "util.h"
#include "version.h"
@@ -19,8 +20,6 @@
using namespace json_spirit;
extern Array read_json(const std::string& jsondata);
-extern uint256 SignatureHash(const CScript &scriptCode, const CTransaction& txTo, unsigned int nIn, int nHashType);
-
// Old script.cpp SignatureHash function
uint256 static SignatureHashOld(CScript scriptCode, const CTransaction& txTo, unsigned int nIn, int nHashType)
{