diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 5afd8d53c..b987f001f 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -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 match %.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 diff --git a/src/komodo_pax.h b/src/komodo_pax.h index c9e83dfa0..4d218e4d8 100644 --- a/src/komodo_pax.h +++ b/src/komodo_pax.h @@ -356,8 +356,15 @@ uint64_t komodo_paxprice(int32_t height,char *base,char *rel,uint64_t basevolume numvotes = (int32_t)(sizeof(Peggy_inds)/sizeof(*Peggy_inds)); memset(votes,0,sizeof(votes)); for (i=0; i