Merge pull request #6047
a56054bUpdate key.cpp to use new libsecp256k1 (Pieter Wuille)a591d98Squashed 'src/secp256k1/' changes from 1897b8e..22f60a6 (Pieter Wuille)
This commit is contained in:
@@ -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."));
|
||||
|
||||
Reference in New Issue
Block a user