diff options
| author | Gavin Andresen <[email protected]> | 2011-11-17 14:21:32 -0500 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2011-11-17 14:21:32 -0500 |
| commit | 1c15f88653b0f60fe5e021192cbb81c4f193159c (patch) | |
| tree | d8c2866922bf157e83d861bb2f26976a1169ba38 /src/init.cpp | |
| parent | Create new keypool for newly encrypted wallets. (diff) | |
| download | discoin-1c15f88653b0f60fe5e021192cbb81c4f193159c.tar.xz discoin-1c15f88653b0f60fe5e021192cbb81c4f193159c.zip | |
Only remove database log files on shutdown after wallet encryption/rewritev0.5.0rc6
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp index c91c098e0..a6d0ab56e 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; |