aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/signet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/fuzz/signet.cpp')
-rw-r--r--src/test/fuzz/signet.cpp6
1 files 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 <primitives/block.h>
#include <signet.h>
#include <streams.h>
-#include <test/fuzz/fuzz.h>
#include <test/fuzz/FuzzedDataProvider.h>
+#include <test/fuzz/fuzz.h>
#include <test/fuzz/util.h>
#include <cstdint>
@@ -28,7 +28,5 @@ void test_one_input(const std::vector<uint8_t>& 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));
}