diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 1a9af57fc..9d9712166 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 ) assert(nWitnessCacheSize > 0); if (fFileBacked) { CWalletDB walletdb(strWalletFile);