aboutsummaryrefslogtreecommitdiff
path: root/src/test/script_tests.cpp
diff options
context:
space:
mode:
authorjtimon <[email protected]>2014-08-01 17:45:09 +0200
committerjtimon <[email protected]>2014-08-01 17:45:09 +0200
commitf5745fa52a66ab9ba976e06de4881e981d9aa6b4 (patch)
tree86e02367ad7881e809605be1ec3a93e20996c4f1 /src/test/script_tests.cpp
parentqt: more watchonly -> watch-only (diff)
downloaddiscoin-f5745fa52a66ab9ba976e06de4881e981d9aa6b4.tar.xz
discoin-f5745fa52a66ab9ba976e06de4881e981d9aa6b4.zip
Declare SignatureHash() in script.h
Diffstat (limited to 'src/test/script_tests.cpp')
-rw-r--r--src/test/script_tests.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/script_tests.cpp b/src/test/script_tests.cpp
index 5e35875a8..bc9f31c07 100644
--- a/src/test/script_tests.cpp
+++ b/src/test/script_tests.cpp
@@ -10,6 +10,7 @@
#include "key.h"
#include "keystore.h"
#include "main.h"
+#include "script.h"
#include "core_io.h"
#include <fstream>
@@ -33,8 +34,6 @@ using namespace std;
using namespace json_spirit;
using namespace boost::algorithm;
-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;
Array