aboutsummaryrefslogtreecommitdiff
path: root/src/walletdb.h
diff options
context:
space:
mode:
authorCozz Lovan <cozzlovan@yahoo.com>2014-08-31 05:55:27 +0200
committerCozz Lovan <cozzlovan@yahoo.com>2014-10-03 05:11:27 +0200
commit44bc988e7becb492a78ed92ea1052f4789012534 (patch)
treee7ce5489c4f331b71bc55c24cfcd89393097f069 /src/walletdb.h
parent29f96e8bc652cb14c6fdefe5279ee983054faa2a (diff)
downloadbitcoin-44bc988e7becb492a78ed92ea1052f4789012534.tar.xz
[Wallet] Do not flush the wallet in AddToWalletIfInvolvingMe(..)
Diffstat (limited to 'src/walletdb.h')
-rw-r--r--src/walletdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/walletdb.h b/src/walletdb.h
index f3d6e61f8b..590d63e333 100644
--- a/src/walletdb.h
+++ b/src/walletdb.h
@@ -76,7 +76,7 @@ public:
class CWalletDB : public CDB
{
public:
- CWalletDB(const std::string& strFilename, const char* pszMode = "r+") : CDB(strFilename, pszMode)
+ CWalletDB(const std::string& strFilename, const char* pszMode = "r+", bool fFlushOnClose = true) : CDB(strFilename, pszMode, fFlushOnClose)
{
}