Bugfix: Describe dblogsize option correctly (it refers to the wallet database, not memory pool)

This commit is contained in:
Luke Dashjr
2015-06-27 23:15:11 +00:00
parent caa3d42f06
commit 420a82f1ae
3 changed files with 4 additions and 2 deletions

View File

@@ -293,7 +293,7 @@ void CDB::Flush()
if (fReadOnly)
nMinutes = 1;
bitdb.dbenv->txn_checkpoint(nMinutes ? GetArg("-dblogsize", 100) * 1024 : 0, nMinutes, 0);
bitdb.dbenv->txn_checkpoint(nMinutes ? GetArg("-dblogsize", DEFAULT_WALLET_DBLOGSIZE) * 1024 : 0, nMinutes, 0);
}
void CDB::Close()