From c7ede30fe0aaf571edbed877f275b98b5ade0f9f Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 26 Apr 2017 18:51:17 +0300 Subject: [PATCH] Test --- src/wallet/wallet.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index f31a6214e..d1b007805 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -811,10 +811,10 @@ void CWallet::DecrementNoteWitnesses(const CBlockIndex* pindex) } if ( KOMODO_REWIND == 0 ) assert(nWitnessCacheSize > 0); - if (fFileBacked) { - CWalletDB walletdb(strWalletFile); - WriteWitnessCache(walletdb); - } + //if (fFileBacked) { + // CWalletDB walletdb(strWalletFile); + // WriteWitnessCache(walletdb); + //} // For performance reasons, we write out the witness cache in // CWallet::SetBestChain() (which also ensures that overall consistency // of the wallet.dat is maintained).