aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-05-06 11:39:13 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-05-06 12:29:07 +0200
commit12f348825394d5a25145b380267641688cd5d51f (patch)
treec1c313b19c1d47dcbd9dec5a0bdd9d6f8cde979e /src/test
parent00820f921d8fcaa031e561ee641c50e77a909670 (diff)
parenta56054be650052361e8de79f0f03a56a043759e5 (diff)
Merge pull request #6047
a56054b Update key.cpp to use new libsecp256k1 (Pieter Wuille) a591d98 Squashed 'src/secp256k1/' changes from 1897b8e..22f60a6 (Pieter Wuille)
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_bitcoin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp
index 4057eccbed..c727303ea1 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -6,6 +6,7 @@
#include "test_bitcoin.h"
+#include "key.h"
#include "main.h"
#include "random.h"
#include "txdb.h"
@@ -28,6 +29,7 @@ extern void noui_connect();
BasicTestingSetup::BasicTestingSetup()
{
+ ECC_Start();
SetupEnvironment();
fPrintToDebugLog = false; // don't want to write to debug.log file
fCheckBlockIndex = true;
@@ -35,6 +37,7 @@ BasicTestingSetup::BasicTestingSetup()
}
BasicTestingSetup::~BasicTestingSetup()
{
+ ECC_Stop();
}
TestingSetup::TestingSetup()