From ecc2479afa2089fe5612b96a710bb8af27d21ae2 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 6 Nov 2016 16:18:06 -0300 Subject: [PATCH] test --- src/komodo_pax.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/komodo_pax.h b/src/komodo_pax.h index e9353a90f..2092d2707 100644 --- a/src/komodo_pax.h +++ b/src/komodo_pax.h @@ -363,8 +363,7 @@ uint64_t _komodo_paxprice(int32_t height,char *base,char *rel,uint64_t basevolum uint64_t komodo_paxprice(int32_t height,char *base,char *rel,uint64_t basevolume) { int32_t i,j,k,ind,zeroes,numvotes,wt,nonz; int64_t delta; uint64_t lastprice,seed,tolerance,den,densum,sum=0,votes[539]; - return(_komodo_paxprice(height,base,rel,basevolume)); - + //return(_komodo_paxprice(height,base,rel,basevolume)); numvotes = (int32_t)(sizeof(Peggy_inds)/sizeof(*Peggy_inds)); memset(votes,0,sizeof(votes)); for (sum=i=zeroes=nonz=0; i> 1) ) return(0); @@ -387,7 +386,7 @@ uint64_t komodo_paxprice(int32_t height,char *base,char *rel,uint64_t basevolume votes[i] = lastprice; else lastprice = votes[i]; } - printf("\n}; // numvotes.%d\n\n",numvotes); + //printf("\n}; // numvotes.%d\n\n",numvotes); seed = komodo_seed(height); tolerance = sum / 50; for (k=0; k