aboutsummaryrefslogtreecommitdiff
path: root/src/test/sighash_tests.cpp
diff options
context:
space:
mode:
authorlucash-dev <lucash.dev@gmail.com>2018-12-08 15:38:12 -0800
committerlucash-dev <lucash.dev@gmail.com>2018-12-11 19:43:35 -0800
commited61abedb262d1a9772ca51916fefaeaadcc5b22 (patch)
tree4cecd36f300987fa58e548d6ea6dca6f0481c92c /src/test/sighash_tests.cpp
parentf65bce858f266b352c9ddd1f5480431dca56fcae (diff)
Removed implicit CTransaction constructor from tests
Diffstat (limited to 'src/test/sighash_tests.cpp')
-rw-r--r--src/test/sighash_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/sighash_tests.cpp b/src/test/sighash_tests.cpp
index 773204a00c..04d5462acb 100644
--- a/src/test/sighash_tests.cpp
+++ b/src/test/sighash_tests.cpp
@@ -137,7 +137,7 @@ BOOST_AUTO_TEST_CASE(sighash_test)
int nIn = InsecureRandRange(txTo.vin.size());
uint256 sh, sho;
- sho = SignatureHashOld(scriptCode, txTo, nIn, nHashType);
+ sho = SignatureHashOld(scriptCode, CTransaction(txTo), nIn, nHashType);
sh = SignatureHash(scriptCode, txTo, nIn, nHashType, 0, SigVersion::BASE);
#if defined(PRINT_SIGHASH_JSON)
CDataStream ss(SER_NETWORK, PROTOCOL_VERSION);