v29.4-roots.1 · Commit 7: [PATCH 07/13] release: establish Roots maintenance and assurance
src/test/fuzz/coins_view.cpp
Before: src/test/fuzz/coins_view.cpp · After: src/test/fuzz/coins_view.cpp
File metadata
index 9c6aa6e7a1ec40b45d1e88714bd3afa28a11e206..880765cedbe3f9fa7150fb02783bbf4dc6f8bcc7 100644
Download original patch · Release notes
Diff rows 1–9 of 9. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.
src/test/fuzz/coins_view.cpp
CHANGED
|
@@ -284,7 +284,8 @@ FUZZ_TARGET(coins_view, .init = initialize_coins_view)
|
|
|
284
284
|
(void)GetTransactionSigOpCost(transaction, coins_view_cache, flags);
|
|
285
285
|
},
|
|
286
286
|
[&] {
|
|
287
|
-
(void)IsWitnessStandard(CTransaction{random_mutable_transaction}, coins_view_cache);
|
|
287
|
+
std::string reason;
|
|
288
|
+
(void)IsWitnessStandard(CTransaction{random_mutable_transaction}, coins_view_cache, "bad-witness-", reason);
|
|
288
289
|
});
|
|
289
290
|
}
|
|
290
291
|
}
|