aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin_fuzzy.cpp
diff options
context:
space:
mode:
authorGregory Maxwell <[email protected]>2017-02-05 17:37:13 +0000
committerGregory Maxwell <[email protected]>2017-02-05 17:37:13 +0000
commitac719c936dee55f386a8be88fe298d1b44b467dc (patch)
tree25a7d4d60c2ac724a290ec68e8fd15a8d1a9b8c8 /src/test/test_bitcoin_fuzzy.cpp
parentMerge #9671: Fix super-unlikely race introduced in 236618061a445d2cb11e72 (diff)
downloaddiscoin-ac719c936dee55f386a8be88fe298d1b44b467dc.tar.xz
discoin-ac719c936dee55f386a8be88fe298d1b44b467dc.zip
Init ECC context for test_bitcoin_fuzzy.
This avoids calling things like pubkey_parse with a null context argument.
Diffstat (limited to 'src/test/test_bitcoin_fuzzy.cpp')
-rw-r--r--src/test/test_bitcoin_fuzzy.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_bitcoin_fuzzy.cpp b/src/test/test_bitcoin_fuzzy.cpp
index 376d8e428..c4983f6f5 100644
--- a/src/test/test_bitcoin_fuzzy.cpp
+++ b/src/test/test_bitcoin_fuzzy.cpp
@@ -18,6 +18,7 @@
#include "streams.h"
#include "undo.h"
#include "version.h"
+#include "pubkey.h"
#include <stdint.h>
#include <unistd.h>
@@ -60,6 +61,7 @@ bool read_stdin(std::vector<char> &data) {
int main(int argc, char **argv)
{
+ ECCVerifyHandle globalVerifyHandle;
std::vector<char> buffer;
if (!read_stdin(buffer)) return 0;