From 65195b3ed724444a169b2d34eafef027cc6913b9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 29 Oct 2016 15:17:51 -0300 Subject: [PATCH] test --- src/wallet/wallet.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 41eb352ab..df9b8ee43 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -771,6 +771,11 @@ void CWallet::DecrementNoteWitnesses() } // TODO: If nWitnessCache is zero, we need to regenerate the caches (#1302) assert(nWitnessCacheSize > 0); + if ( nWitnessCacheSize <= 0 ) + { + extern char ASSETCHAINS_SYMBOL[16]; + fprintf(stderr,"%s nWitnessCacheSize.%d\n",ASSETCHAINS_SYMBOL,(int32_t)nWitnessCacheSize); + } if (fFileBacked) { CWalletDB walletdb(strWalletFile); WriteWitnessCache(walletdb);