diff options
author | dergoegge <n.goeggi@gmail.com> | 2023-10-11 14:53:04 +0100 |
---|---|---|
committer | dergoegge <n.goeggi@gmail.com> | 2023-11-21 13:15:44 +0000 |
commit | 9e58c5bcd96e7ff2062274868814ccae0626589e (patch) | |
tree | b5aa7606931ec3cac2a5e3ce40421562c8fa48f8 /src/test/orphanage_tests.cpp | |
parent | d752349029ec7a76f1fd440db2ec2e458d0f3c99 (diff) | |
download | bitcoin-9e58c5bcd96e7ff2062274868814ccae0626589e.tar.xz |
Use Txid in COutpoint
Diffstat (limited to 'src/test/orphanage_tests.cpp')
-rw-r--r-- | src/test/orphanage_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/orphanage_tests.cpp b/src/test/orphanage_tests.cpp index b51de30cb2..bf465c0c64 100644 --- a/src/test/orphanage_tests.cpp +++ b/src/test/orphanage_tests.cpp @@ -68,7 +68,7 @@ BOOST_AUTO_TEST_CASE(DoS_mapOrphans) CMutableTransaction tx; tx.vin.resize(1); tx.vin[0].prevout.n = 0; - tx.vin[0].prevout.hash = InsecureRand256(); + tx.vin[0].prevout.hash = Txid::FromUint256(InsecureRand256()); tx.vin[0].scriptSig << OP_1; tx.vout.resize(1); tx.vout[0].nValue = 1*CENT; |