Skip to content

Commit fae0548

Browse files
author
MarcoFalke
committed
fuzz: Remove needless guard
1 parent 77771a0 commit fae0548

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/test/fuzz/signet.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
#include <primitives/block.h>
88
#include <signet.h>
99
#include <streams.h>
10-
#include <test/fuzz/fuzz.h>
1110
#include <test/fuzz/FuzzedDataProvider.h>
11+
#include <test/fuzz/fuzz.h>
1212
#include <test/fuzz/util.h>
1313

1414
#include <cstdint>
@@ -28,7 +28,5 @@ void test_one_input(const std::vector<uint8_t>& buffer)
2828
return;
2929
}
3030
(void)CheckSignetBlockSolution(*block, Params().GetConsensus());
31-
if (GetWitnessCommitmentIndex(*block) != NO_WITNESS_COMMITMENT) {
32-
(void)SignetTxs::Create(*block, ConsumeScript(fuzzed_data_provider));
33-
}
31+
(void)SignetTxs::Create(*block, ConsumeScript(fuzzed_data_provider));
3432
}

0 commit comments

Comments
 (0)