aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/decode_tx.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2020-11-02 22:21:03 +0000
committerpracticalswift <practicalswift@users.noreply.github.com>2020-11-02 22:21:03 +0000
commit28f8cb13d4d5a3d6aefa6e192e55f9aa87579e52 (patch)
treeb4ec18a1f46d4e03c9c889036e9471a632f8bddf /src/test/fuzz/decode_tx.cpp
parentca18860563259d2b42d1a102ab6bc2802ce99b1d (diff)
fuzz: Fix DecodeHexTx fuzzing harness issue
Diffstat (limited to 'src/test/fuzz/decode_tx.cpp')
-rw-r--r--src/test/fuzz/decode_tx.cpp3
1 files changed, 1 insertions, 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<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);
}
}