diff options
| author | Cozz Lovan <[email protected]> | 2014-08-31 05:55:27 +0200 |
|---|---|---|
| committer | Cozz Lovan <[email protected]> | 2014-10-03 05:11:27 +0200 |
| commit | 44bc988e7becb492a78ed92ea1052f4789012534 (patch) | |
| tree | e7ce5489c4f331b71bc55c24cfcd89393097f069 /src/wallet.h | |
| parent | Merge pull request #4994 (diff) | |
| download | discoin-44bc988e7becb492a78ed92ea1052f4789012534.tar.xz discoin-44bc988e7becb492a78ed92ea1052f4789012534.zip | |
[Wallet] Do not flush the wallet in AddToWalletIfInvolvingMe(..)
Diffstat (limited to 'src/wallet.h')
| -rw-r--r-- | src/wallet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet.h b/src/wallet.h index f3fffb225..cd1a09035 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -246,7 +246,7 @@ public: TxItems OrderedTxItems(std::list<CAccountingEntry>& acentries, std::string strAccount = ""); void MarkDirty(); - bool AddToWallet(const CWalletTx& wtxIn, bool fFromLoadWallet=false); + bool AddToWallet(const CWalletTx& wtxIn, bool fFromLoadWallet, CWalletDB* pwalletdb); void SyncTransaction(const CTransaction& tx, const CBlock* pblock); bool AddToWalletIfInvolvingMe(const CTransaction& tx, const CBlock* pblock, bool fUpdate); void EraseFromWallet(const uint256 &hash); @@ -849,7 +849,7 @@ public: return true; } - bool WriteToDisk(); + bool WriteToDisk(CWalletDB *pwalletdb); int64_t GetTxTime() const; int GetRequestCount() const; |