From 28f8cb13d4d5a3d6aefa6e192e55f9aa87579e52 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Mon, 2 Nov 2020 22:21:03 +0000 Subject: [PATCH] fuzz: Fix DecodeHexTx fuzzing harness issue --- src/test/fuzz/decode_tx.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/fuzz/decode_tx.cpp b/src/test/fuzz/decode_tx.cpp index 0d89d4228a..a29686cbdd 100644 --- a/src/test/fuzz/decode_tx.cpp +++ b/src/test/fuzz/decode_tx.cpp @@ -24,8 +24,7 @@ void test_one_input(const std::vector& 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); } }