diff options
| author | Luke Dashjr <[email protected]> | 2015-06-27 23:15:11 +0000 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2015-10-01 23:16:42 +0000 |
| commit | 420a82f1ae2f56938ea935fbdbb60e47685684c7 (patch) | |
| tree | da4cc0037c4e545cf3720a3ea5933313721d8780 /src/wallet/db.cpp | |
| parent | Bugfix: RPC: blockchain: Display correct defaults in help for verifychain method (diff) | |
| download | discoin-420a82f1ae2f56938ea935fbdbb60e47685684c7.tar.xz discoin-420a82f1ae2f56938ea935fbdbb60e47685684c7.zip | |
Bugfix: Describe dblogsize option correctly (it refers to the wallet database, not memory pool)
Diffstat (limited to 'src/wallet/db.cpp')
| -rw-r--r-- | src/wallet/db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/db.cpp b/src/wallet/db.cpp index e5bc653c3..cf6122813 100644 --- a/src/wallet/db.cpp +++ b/src/wallet/db.cpp @@ -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() |