aboutsummaryrefslogtreecommitdiff
path: root/src/test/sighash_tests.cpp
diff options
context:
space:
mode:
authorlucash-dev <[email protected]>2018-12-08 15:38:12 -0800
committerlucash-dev <[email protected]>2018-12-11 19:43:35 -0800
commited61abedb262d1a9772ca51916fefaeaadcc5b22 (patch)
tree4cecd36f300987fa58e548d6ea6dca6f0481c92c /src/test/sighash_tests.cpp
parentMerge #14886: [tests] Refactor importmulti tests (diff)
downloaddiscoin-ed61abedb262d1a9772ca51916fefaeaadcc5b22.tar.xz
discoin-ed61abedb262d1a9772ca51916fefaeaadcc5b22.zip
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 773204a00..04d5462ac 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);