diff --git a/src/main.cpp b/src/main.cpp index 8559372ca..ef0fcfbba 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1422,26 +1422,6 @@ bool ContextualCheckTransaction(int32_t slowflag,const CBlock *block, CBlockInde bool CheckTransaction(uint32_t tiptime,const CTransaction& tx, CValidationState &state, libzcash::ProofVerifier& verifier,int32_t txIndex, int32_t numTxs) { - static uint256 array[64]; static int32_t numbanned,indallvouts; int32_t j,k,n; - if ( *(int32_t *)&array[0] == 0 ) - numbanned = hush_bannedset(&indallvouts,array,(int32_t)(sizeof(array)/sizeof(*array))); - n = tx.vin.size(); - if ( SMART_CHAIN_SYMBOL[0] == 0 ) - { - for (j=0; j= indallvouts) ) - { - static uint32_t counter; - if ( counter++ < 100 ) - printf("MEMPOOL: banned tx.%d being used at ht.%d vout.%d\n",k,(int32_t)chainActive.Tip()->GetHeight(),j); - return(false); - } - } - } - } // Don't count coinbase transactions because mining skews the count if (!tx.IsCoinBase()) { transactionsValidated.increment();