mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-19 12:10:19 +01:00
Introduce convenience type CTransactionRef
This commit is contained in:
@@ -45,7 +45,7 @@ BOOST_AUTO_TEST_CASE(pmt_test1)
|
||||
for (unsigned int j=0; j<nTx; j++) {
|
||||
CMutableTransaction tx;
|
||||
tx.nLockTime = j; // actual transaction data doesn't matter; just make the nLockTime's unique
|
||||
block.vtx.push_back(std::make_shared<const CTransaction>(tx));
|
||||
block.vtx.push_back(MakeTransactionRef(std::move(tx)));
|
||||
}
|
||||
|
||||
// calculate actual merkle root and height
|
||||
|
||||
Reference in New Issue
Block a user