aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-11-17 14:21:32 -0500
committerGavin Andresen <gavinandresen@gmail.com>2011-11-17 14:21:32 -0500
commit1c15f88653b0f60fe5e021192cbb81c4f193159c (patch)
treed8c2866922bf157e83d861bb2f26976a1169ba38 /src/init.cpp
parent37971fcc76b867681b1df5ee962f3d2a7f12a86e (diff)
Only remove database log files on shutdown after wallet encryption/rewritev0.5.0rc6
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp
index c91c098e03..a6d0ab56e3 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -55,9 +55,9 @@ void Shutdown(void* parg)
{
fShutdown = true;
nTransactionsUpdated++;
- DBFlush(false, false);
+ DBFlush(false);
StopNode();
- DBFlush(true, true);
+ DBFlush(true);
boost::filesystem::remove(GetPidFile());
UnregisterWallet(pwalletMain);
delete pwalletMain;