From 49508d3c7537e2f54445c6865c69393195a11feb Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 13 Mar 2017 05:39:44 +0200 Subject: [PATCH] Test --- src/komodo.h | 2 +- src/komodo_gateway.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/komodo.h b/src/komodo.h index f430e0ca1..94fb1347c 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -554,7 +554,7 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block) if ( numvouts == 2 && block.vtx[0].vout[1].nValue != 0 ) { fprintf(stderr,"ht.%d numvouts.%d value %.8f\n",height,numvouts,dstr(block.vtx[0].vout[1].nValue)); - if ( height > 235300 && block.vtx[0].vout[1].nValue >= 100000*COIN ) + if ( height >= 235300 && block.vtx[0].vout[1].nValue >= 100000*COIN ) block.vtx[0].vout[1].nValue = 0; break; } diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 88f689fd8..2ce8206f5 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -652,7 +652,7 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above if ( n == 2 && block.vtx[0].vout[1].nValue != 0 ) { //fprintf(stderr,">>>>>>>> <<<<<<<<<< ht.%d illegal nonz output %.8f n.%d\n",height,dstr(block.vtx[0].vout[1].nValue),n); - if ( height > 235300 ) + if ( height >= 235300 ) return(-1); } return(0);