From 58085d21bd9f247d16ddc8c2f01c65585914c6ca Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 26 Oct 2016 12:21:39 -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 e70be2ed4..e19986cf6 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -91,13 +91,13 @@ int32_t komodo_gateway_tx(char *symbol,int32_t height,int32_t txi,char *txidstr, if ( (hexstr= jstr(sobj,(char *)"hex")) != 0 ) { len = (int32_t)strlen(hexstr) >> 1; + if ( len != 74 ) + printf("ht.%d txi.%d vout.%d/%d %s script\n",height,txi,vout,n,hexstr); if ( vout == 0 && ((memcmp(&hexstr[2],CRYPTO777_PUBSECPSTR,66) == 0 && len == 35) || (memcmp(&hexstr[6],CRYPTO777_RMD160STR,40) == 0 && len == 25)) ) isspecial = 1; else if ( isspecial != 0 && len <= sizeof(script) ) { decode_hex(script,len,hexstr); - if ( len != 74 ) - printf("ht.%d txi.%d vout.%d/%d %s script\n",height,txi,vout,n,hexstr); komodo_gateway_voutupdate(symbol,height,txi,vout,n,value,script,len); } }