mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
Use Txid in COutpoint
This commit is contained in:
@@ -724,7 +724,7 @@ BOOST_FIXTURE_TEST_CASE(chainstatemanager_snapshot_completion_hash_mismatch, Sna
|
||||
badcoin.out.nValue = InsecureRand32();
|
||||
badcoin.nHeight = 1;
|
||||
badcoin.out.scriptPubKey.assign(InsecureRandBits(6), 0);
|
||||
uint256 txid = InsecureRand256();
|
||||
Txid txid = Txid::FromUint256(InsecureRand256());
|
||||
ibd_coins.AddCoin(COutPoint(txid, 0), std::move(badcoin), false);
|
||||
|
||||
fs::path snapshot_chainstate_dir = gArgs.GetDataDirNet() / "chainstate_snapshot";
|
||||
|
||||
Reference in New Issue
Block a user