0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-04 13:55:23 -05:00

fuzz: Fix DecodeHexTx fuzzing harness issue

This commit is contained in:
practicalswift 2020-11-02 22:21:03 +00:00
parent ca18860563
commit 28f8cb13d4

View file

@ -24,8 +24,7 @@ void test_one_input(const std::vector<uint8_t>& buffer)
if (result_try_witness_and_maybe_no_witness) {
assert(result_try_no_witness || result_try_witness);
}
// if (result_try_no_witness) { // Uncomment when https://github.com/bitcoin/bitcoin/pull/17775 is merged
if (result_try_witness) { // Remove stop-gap when https://github.com/bitcoin/bitcoin/pull/17775 is merged
if (result_try_no_witness) {
assert(result_try_witness_and_maybe_no_witness);
}
}