aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
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/init.cpp
parent00820f921d8fcaa031e561ee641c50e77a909670 (diff)
parenta56054be650052361e8de79f0f03a56a043759e5 (diff)
downloadbitcoin-12f348825394d5a25145b380267641688cd5d51f.tar.xz
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/init.cpp')
-rw-r--r--src/init.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 00bf7b695a..ce012be56d 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -194,6 +194,7 @@ void Shutdown()
delete pwalletMain;
pwalletMain = NULL;
#endif
+ ECC_Stop();
LogPrintf("%s: done\n", __func__);
}
@@ -844,6 +845,9 @@ bool AppInit2(boost::thread_group& threadGroup)
// ********************************************************* Step 4: application initialization: dir lock, daemonize, pidfile, debug log
+ // Initialize elliptic curve code
+ ECC_Start();
+
// Sanity check
if (!InitSanityCheck())
return InitError(_("Initialization sanity check failed. Bitcoin Core is shutting down."));