aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorEric Lombrozo <elombrozo@gmail.com>2013-01-07 07:35:31 -0800
committerEric Lombrozo <elombrozo@gmail.com>2013-06-05 20:36:10 -0700
commit4751d07efdc3924a005bbe61b358d320f0c710af (patch)
tree5ae13ae92659ee7937fcccfb24f71d3865ee66cc /src/init.cpp
parent8926263dde10bed3f42e21e5f106365f1192e6c0 (diff)
Moved unrelated-to-network calls in StartNode and StopNode into init.cpp
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index e4cb2f1d00..48fd5ae97f 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -45,6 +45,7 @@ enum BindFlags {
BF_REPORT_ERROR = (1U << 1)
};
+
//////////////////////////////////////////////////////////////////////////////
//
// Shutdown
@@ -99,6 +100,7 @@ void Shutdown()
StopRPCThreads();
ShutdownRPCMining();
bitdb.Flush(false);
+ GenerateBitcoins(false, NULL);
StopNode();
{
LOCK(cs_main);