From 31a468bdf4a9940a15695a3f750ad73e89ab44fd Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 5 Nov 2016 07:58:29 -0300 Subject: [PATCH] test --- src/komodo_gateway.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 38a0769ba..7d6b71039 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -173,7 +173,7 @@ void komodo_gateway_deposits(CMutableTransaction *txNew) script = (uint8_t *)&txNew->vout[numvouts].scriptPubKey[0]; memcpy(script,opret,opretlen); printf("total numvouts.%d %.8f opretlen.%d\n",numvouts,dstr(PENDING_KOMODO_TX),opretlen); - } else KOMODO_DEPOSIT = 0; + } //else KOMODO_DEPOSIT = 0; } int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above block is valid pax pricing @@ -193,7 +193,7 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above { if ( (pax= komodo_paxfind(&space,txids[i-1],vouts[i-1])) != 0 && pax->fiatoshis == block.vtx[0].vout[i].nValue ) { - printf("i.%d mismatch %.8f != %.8f\n",i,dstr(pax != 0 ? pax->fiatoshis:-1),dstr(block.vtx[0].vout[i].nValue)); + printf("i.%d match %.8f == %.8f\n",i,dstr(pax != 0 ? pax->fiatoshis:-1),dstr(block.vtx[0].vout[i].nValue)); komodo_paxmark(&space,txids[i-1],vouts[i-1],height); } else