Declare SignatureHash() in script.h

This commit is contained in:
jtimon
2014-08-01 17:45:09 +02:00
parent c0e9548b63
commit f5745fa52a
5 changed files with 3 additions and 9 deletions

View File

@@ -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)
{