diff --git a/src/main.cpp b/src/main.cpp index a55ed39d5..f24cfedbd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1124,10 +1124,8 @@ bool AcceptToMemoryPool(CTxMemPool& pool, CValidationState &state, const CTransa COutPoint outpoint = tx.vin[i].prevout; if (pool.mapNextTx.count(outpoint)) { - static uint32_t counter; // Disable replacement feature for now - if ( counter++ < 10 ) - fprintf(stderr,"Disable replacement feature for now\n"); + fprintf(stderr,"Disable replacement feature for now\n"); return false; } }