fuzz: Remove needless guard

pull/764/head
MarcoFalke 4 years ago
parent 77771a03df
commit fae0548686
No known key found for this signature in database
GPG Key ID: CE2B75697E69A548

@ -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));
}

Loading…
Cancel
Save