git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Only remove database log files on shutdown after wallet encryption/rewrite
[novacoin.git]
/
src
/
init.cpp
diff --git
a/src/init.cpp
b/src/init.cpp
index
4a149b3
..
2d21a26
100644
(file)
--- a/
src/init.cpp
+++ b/
src/init.cpp
@@
-45,9
+45,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;