aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-09-22 15:48:26 +0200
committerMarcoFalke <falke.marco@gmail.com>2020-09-22 22:32:18 +0200
commitfae0548686cb3d095086d3f0fef38dcfcd31d8ca (patch)
tree007173d3797745a1844bf45b35ce32abcc9345f1 /src
parent77771a03df6c5d940b340d15eb88f2ac9a29c13a (diff)
fuzz: Remove needless guard
Diffstat (limited to 'src')
-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));
}