fuzz: Fix DecodeHexTx fuzzing harness issue

pull/764/head
practicalswift 4 years ago
parent ca18860563
commit 28f8cb13d4

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

Loading…
Cancel
Save