[Wallet] Do not flush the wallet in AddToWalletIfInvolvingMe(..)

This commit is contained in:
Cozz Lovan
2014-08-31 05:55:27 +02:00
parent 29f96e8bc6
commit 44bc988e7b
8 changed files with 30 additions and 19 deletions

View File

@@ -97,8 +97,9 @@ protected:
std::string strFile;
DbTxn* activeTxn;
bool fReadOnly;
bool fFlushOnClose;
explicit CDB(const std::string& strFilename, const char* pszMode = "r+");
explicit CDB(const std::string& strFilename, const char* pszMode = "r+", bool fFlushOnCloseIn=true);
~CDB() { Close(); }
public: