From b75c9445c78daa27bc37482a1570711ea90d4b96 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 7 Dec 2016 12:11:11 +0200 Subject: [PATCH] test --- src/komodo_gateway.h | 2 -- src/komodo_pax.h | 5 ++++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 9a683125e..9578fce8e 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -656,8 +656,6 @@ const char *komodo_opreturn(int32_t height,uint64_t value,uint8_t *opretbuf,int3 } } else printf("opreturn none issued?\n"); } - if ( strcmp(source,ASSETCHAINS_SYMBOL) == 0 ) - printf("source.%s opreturn[I] matches %s\n",source,(char *)&opretbuf[opretlen-4]); } else if ( opretbuf[0] == 'W' )//&& opretlen >= 38 ) { diff --git a/src/komodo_pax.h b/src/komodo_pax.h index d7c759248..f131881a0 100644 --- a/src/komodo_pax.h +++ b/src/komodo_pax.h @@ -473,7 +473,6 @@ uint64_t komodo_paxprice(uint64_t *seedp,int32_t height,char *base,char *rel,uin } kmdbtc = komodo_paxcorrelation(kmdbtcs,numvotes,*seedp) * 539; btcusd = komodo_paxcorrelation(btcusds,numvotes,*seedp) * 539; - //printf("kmdbtc %llu btcusd %llu\n",(long long)kmdbtc,(long long)btcusd); for (i=nonz=0; i> 1) ) + { + printf("kmdbtc %llu btcusd %llu\n",(long long)kmdbtc,(long long)btcusd); + printf("komodo_paxprice nonz.%d of numvotes.%d\n",nonz,numvotes); return(0); + } return(komodo_paxcorrelation(votes,numvotes,*seedp) * basevolume / 100000); }