From 034561f9cd4180ea1c165cb02df6c84444a8d692 Mon Sep 17 00:00:00 2001 From: Harris Date: Fri, 6 Dec 2019 21:47:55 +0100 Subject: cli: fix Fatal LevelDB error when specifying -blockfilterindex=basic twice --- src/blockfilter.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/blockfilter.h') diff --git a/src/blockfilter.h b/src/blockfilter.h index 914b94fec1..828204b875 100644 --- a/src/blockfilter.h +++ b/src/blockfilter.h @@ -7,6 +7,7 @@ #include #include +#include #include #include @@ -97,7 +98,7 @@ const std::string& BlockFilterTypeName(BlockFilterType filter_type); bool BlockFilterTypeByName(const std::string& name, BlockFilterType& filter_type); /** Get a list of known filter types. */ -const std::vector& AllBlockFilterTypes(); +const std::set& AllBlockFilterTypes(); /** Get a comma-separated list of known filter type names. */ const std::string& ListBlockFilterTypes(); -- cgit v1.2.3