v29.4-roots.3 · Commit 7: [PATCH 07/30] 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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
src/test/fuzz/coins_view.cpp
CHANGED
|
@@ -284,7 +284,8 @@ FUZZ_TARGET(coins_view, .init = initialize_coins_view)
|
|
| 284 |
(void)GetTransactionSigOpCost(transaction, coins_view_cache, flags);
|
| 285 |
},
|
| 286 |
[&] {
|
| 287 |
-
(void)IsWitnessStandard(CTransaction{random_mutable_transaction}, coins_view_cache);
|
|
|
|
| 288 |
});
|
| 289 |
}
|
| 290 |
}
|
|
|
|
| 284 |
(void)GetTransactionSigOpCost(transaction, coins_view_cache, flags);
|
| 285 |
},
|
| 286 |
[&] {
|
| 287 |
+
std::string reason;
|
| 288 |
+
(void)IsWitnessStandard(CTransaction{random_mutable_transaction}, coins_view_cache, "bad-witness-", reason);
|
| 289 |
});
|
| 290 |
}
|
| 291 |
}
|