fuzz: Remove needless guard
This commit is contained in:
parent
77771a03df
commit
fae0548686
1 changed files with 2 additions and 4 deletions
|
@ -7,8 +7,8 @@
|
||||||
#include <primitives/block.h>
|
#include <primitives/block.h>
|
||||||
#include <signet.h>
|
#include <signet.h>
|
||||||
#include <streams.h>
|
#include <streams.h>
|
||||||
#include <test/fuzz/fuzz.h>
|
|
||||||
#include <test/fuzz/FuzzedDataProvider.h>
|
#include <test/fuzz/FuzzedDataProvider.h>
|
||||||
|
#include <test/fuzz/fuzz.h>
|
||||||
#include <test/fuzz/util.h>
|
#include <test/fuzz/util.h>
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
@ -28,7 +28,5 @@ void test_one_input(const std::vector<uint8_t>& buffer)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
(void)CheckSignetBlockSolution(*block, Params().GetConsensus());
|
(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…
Reference in a new issue