diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-12-31 08:51:57 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-12-31 08:51:42 +0100 |
commit | fa5b935840e857a36e01579eeed7011a0359931b (patch) | |
tree | 8b38cf833db54e92f8e3e30e3af5498149cd14f8 /src/test | |
parent | fafce49336e18033b26948886bbd7342c779b246 (diff) |
fuzz: Remove duplicate ALL_OUTPUT_TYPE array
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/fuzz/kitchen_sink.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/test/fuzz/kitchen_sink.cpp b/src/test/fuzz/kitchen_sink.cpp index 5b8ae5d4fb..4dfb2e3da0 100644 --- a/src/test/fuzz/kitchen_sink.cpp +++ b/src/test/fuzz/kitchen_sink.cpp @@ -34,12 +34,6 @@ constexpr FeeEstimateHorizon ALL_FEE_EST_HORIZON[] = { FeeEstimateHorizon::MED_HALFLIFE, FeeEstimateHorizon::LONG_HALFLIFE, }; - -constexpr OutputType ALL_OUTPUT_TYPE[] = { - OutputType::LEGACY, - OutputType::P2SH_SEGWIT, - OutputType::BECH32, -}; }; // namespace // The fuzzing kitchen sink: Fuzzing harness for functions that need to be @@ -56,7 +50,7 @@ FUZZ_TARGET(kitchen_sink) (void)StringForFeeEstimateHorizon(fuzzed_data_provider.PickValueInArray(ALL_FEE_EST_HORIZON)); - const OutputType output_type = fuzzed_data_provider.PickValueInArray(ALL_OUTPUT_TYPE); + const OutputType output_type = fuzzed_data_provider.PickValueInArray(OUTPUT_TYPES); const std::string& output_type_string = FormatOutputType(output_type); OutputType output_type_parsed; const bool parsed = ParseOutputType(output_type_string, output_type_parsed); |