aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/txorphan.cpp
diff options
context:
space:
mode:
authordergoegge <n.goeggi@gmail.com>2023-10-11 14:53:04 +0100
committerdergoegge <n.goeggi@gmail.com>2023-11-21 13:15:44 +0000
commit9e58c5bcd96e7ff2062274868814ccae0626589e (patch)
treeb5aa7606931ec3cac2a5e3ce40421562c8fa48f8 /src/test/fuzz/txorphan.cpp
parentd752349029ec7a76f1fd440db2ec2e458d0f3c99 (diff)
Use Txid in COutpoint
Diffstat (limited to 'src/test/fuzz/txorphan.cpp')
-rw-r--r--src/test/fuzz/txorphan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/txorphan.cpp b/src/test/fuzz/txorphan.cpp
index a84dc951fc..e9ceb299fe 100644
--- a/src/test/fuzz/txorphan.cpp
+++ b/src/test/fuzz/txorphan.cpp
@@ -39,7 +39,7 @@ FUZZ_TARGET(txorphan, .init = initialize_orphanage)
std::vector<COutPoint> outpoints;
// initial outpoints used to construct transactions later
for (uint8_t i = 0; i < 4; i++) {
- outpoints.emplace_back(uint256{i}, 0);
+ outpoints.emplace_back(Txid::FromUint256(uint256{i}), 0);
}
// if true, allow duplicate input when constructing tx
const bool duplicate_input = fuzzed_data_provider.ConsumeBool();