From 637e8c9536f5e64f2a35b466a0c72de0b8eaf0ce Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 3 Dec 2016 12:14:46 -0300 Subject: [PATCH] test --- src/wallet/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 39478b7ec..1a9af57fc 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -776,7 +776,7 @@ void CWallet::DecrementNoteWitnesses() extern char ASSETCHAINS_SYMBOL[16]; fprintf(stderr,"%s nWitnessCacheSize.%d\n",ASSETCHAINS_SYMBOL,(int32_t)nWitnessCacheSize); } - if ( KOMODO_REWIND == 0 || chainActive.Tip()->nHeight >= KOMODO_REWIND ) + if ( KOMODO_REWIND == 0 || chainActive.Tip()->nHeight <= KOMODO_REWIND ) assert(nWitnessCacheSize > 0); if (fFileBacked) { CWalletDB walletdb(strWalletFile);