From 464fe491ab89e88bac1b5af4e6c8ac3fa4b2abd6 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 24 Mar 2017 07:23:55 +0200 Subject: [PATCH] Test --- src/komodo_gateway.h | 4 ++-- src/main.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 )