diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 539c86754..5df44a2e5 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -896,12 +896,12 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block,uint32_t prevtim hashval = UintToArith256(block.GetHash()); if ( hashval > bnTarget ) { - /*for (i=31; i>=0; i--) + for (i=31; i>=0; i--) fprintf(stderr,"%02x",((uint8_t *)&hashval)[i]); fprintf(stderr," > "); for (i=31; i>=0; i--) fprintf(stderr,"%02x",((uint8_t *)&bnTarget)[i]); - fprintf(stderr," ht.%d PoW diff violation PoSperc.%d vs goalperc.%d\n",height,PoSperc,(int32_t)ASSETCHAINS_STAKED);*/ + fprintf(stderr," ht.%d PoW diff violation PoSperc.%d vs goalperc.%d\n",height,PoSperc,(int32_t)ASSETCHAINS_STAKED); return(-1); } } diff --git a/src/main.cpp b/src/main.cpp index c2387b39e..071fc018f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3873,8 +3873,8 @@ bool CheckBlock(int32_t height,CBlockIndex *pindex,const CBlock& block, CValidat REJECT_INVALID, "bad-blk-sigops", true); if ( komodo_check_deposit(height,block,(pindex==0||pindex->pprev==0)?0:pindex->pprev->nTime) < 0 ) { - static uint32_t counter; - if ( counter++ < 100 && ASSETCHAINS_STAKED == 0 ) + //static uint32_t counter; + //if ( counter++ < 100 && ASSETCHAINS_STAKED == 0 ) fprintf(stderr,"check deposit rejection\n"); return(false); }