Skip to content

Commit fa5b935

Browse files
author
MarcoFalke
committed
fuzz: Remove duplicate ALL_OUTPUT_TYPE array
1 parent fafce49 commit fa5b935

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/test/fuzz/kitchen_sink.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,6 @@ constexpr FeeEstimateHorizon ALL_FEE_EST_HORIZON[] = {
3434
FeeEstimateHorizon::MED_HALFLIFE,
3535
FeeEstimateHorizon::LONG_HALFLIFE,
3636
};
37-
38-
constexpr OutputType ALL_OUTPUT_TYPE[] = {
39-
OutputType::LEGACY,
40-
OutputType::P2SH_SEGWIT,
41-
OutputType::BECH32,
42-
};
4337
}; // namespace
4438

4539
// The fuzzing kitchen sink: Fuzzing harness for functions that need to be
@@ -56,7 +50,7 @@ FUZZ_TARGET(kitchen_sink)
5650

5751
(void)StringForFeeEstimateHorizon(fuzzed_data_provider.PickValueInArray(ALL_FEE_EST_HORIZON));
5852

59-
const OutputType output_type = fuzzed_data_provider.PickValueInArray(ALL_OUTPUT_TYPE);
53+
const OutputType output_type = fuzzed_data_provider.PickValueInArray(OUTPUT_TYPES);
6054
const std::string& output_type_string = FormatOutputType(output_type);
6155
OutputType output_type_parsed;
6256
const bool parsed = ParseOutputType(output_type_string, output_type_parsed);

0 commit comments

Comments
 (0)