aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2019-12-06 18:25:51 +0000
committerpracticalswift <practicalswift@users.noreply.github.com>2019-12-06 18:25:51 +0000
commit6338c0203416a5f86e9422b6cd479da8af277f2f (patch)
tree45e685bfbd4192d788fd6fecd67263b45604194b
parentcb11324a63ef10475bfc4d8e45148d5ae6f3e71e (diff)
tests: Fix fuzzing harness for descriptor parsing (descriptor_parse)
-rw-r--r--src/test/fuzz/descriptor_parse.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/fuzz/descriptor_parse.cpp b/src/test/fuzz/descriptor_parse.cpp
index c4c25854fd..47d5038c26 100644
--- a/src/test/fuzz/descriptor_parse.cpp
+++ b/src/test/fuzz/descriptor_parse.cpp
@@ -3,11 +3,14 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chainparams.h>
+#include <pubkey.h>
#include <script/descriptor.h>
#include <test/fuzz/fuzz.h>
+#include <util/memory.h>
void initialize()
{
+ static const auto verify_handle = MakeUnique<ECCVerifyHandle>();
SelectParams(CBaseChainParams::REGTEST);
}