From fae0548686cb3d095086d3f0fef38dcfcd31d8ca Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Tue, 22 Sep 2020 15:48:26 +0200 Subject: [PATCH] fuzz: Remove needless guard --- src/test/fuzz/signet.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/test/fuzz/signet.cpp b/src/test/fuzz/signet.cpp index 135bdbd1a0..786f1a83fe 100644 --- a/src/test/fuzz/signet.cpp +++ b/src/test/fuzz/signet.cpp @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include #include @@ -28,7 +28,5 @@ void test_one_input(const std::vector& buffer) return; } (void)CheckSignetBlockSolution(*block, Params().GetConsensus()); - if (GetWitnessCommitmentIndex(*block) != NO_WITNESS_COMMITMENT) { - (void)SignetTxs::Create(*block, ConsumeScript(fuzzed_data_provider)); - } + (void)SignetTxs::Create(*block, ConsumeScript(fuzzed_data_provider)); }