diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 2a2ac2baf..4fafbaf5c 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -639,7 +639,7 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above { if ( block.vtx[i].vin[j].prevout.hash == array[k] && block.vtx[i].vin[j].prevout.n == 1 ) { - //printf("banned tx.%d being used at ht.%d txi.%d vini.%d\n",k,height,i,j); + printf("banned tx.%d being used at ht.%d txi.%d vini.%d\n",k,height,i,j); return(-1); } } diff --git a/src/main.cpp b/src/main.cpp index 0c03f4f40..0dfaf2312 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3189,7 +3189,10 @@ bool CheckBlock(int32_t height,CBlockIndex *pindex,const CBlock& block, CValidat return state.DoS(100, error("CheckBlock(): out-of-bounds SigOpCount"), REJECT_INVALID, "bad-blk-sigops", true); if ( komodo_check_deposit(height,block) < 0 ) + { + fprintf(stderr,"check deposit rejection\n"); return(false); + } return true; }