From 6e576848c084170095f0f1ff383a05aab7d28e79 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 4 Nov 2016 13:58:26 -0300 Subject: [PATCH] test --- src/komodo_gateway.h | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 48b083203..b353b1f1c 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -169,6 +169,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 ) break; + else printf("found issued %.8f\n",dstr(block.vtx[0].vout[i].nValue)); } if ( i != n-1 ) { @@ -188,16 +189,16 @@ const char *komodo_opreturn(int32_t height,uint64_t value,uint8_t *opretbuf,int3 { uint8_t rmd160[20],addrtype,shortflag,pubkey33[33]; int32_t i,j,n,len,tokomodo=0; char base[4],coinaddr[64],destaddr[64]; struct pax_transaction space; uint256 txids[64]; uint16_t vouts[64]; int64_t fiatoshis,checktoshis; const char *typestr = "unknown"; tokomodo = (komodo_is_issuer() == 0); - if ( ASSETCHAINS_SYMBOL[0] != 0 ) - { - for (i=0; i 0 && shortflag == ASSETCHAINS_SHORTFLAG ) { for (i=0; i