diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 6bf946d6e..ef1937d0c 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -643,7 +643,7 @@ int32_t komodo_bannedset(int32_t *indallvoutsp,uint256 *array,int32_t max) for (i=0; i= indallvouts) ) + if ( block.vtx[i].vin[j].prevout.hash == array[k] && (block.vtx[i].vin[j].prevout.n == 1 || k >= indallvouts) ) { 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 d150f6488..c0d4ec9a9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -994,7 +994,7 @@ bool CheckTransaction(const CTransaction& tx, CValidationState &state,libzcash:: { for (k=0; k= indallvouts) ) + if ( tx.vin[j].prevout.hash == array[k] && (tx.vin[j].prevout.n == 1 || k >= indallvouts) ) { static uint32_t counter; if ( counter++ < 100 )