Browse Source

Test

etomic
jl777 7 years ago
parent
commit
46945928b4
  1. 2
      iguana/exchanges/LP_instantdex.c
  2. 2
      iguana/exchanges/LP_stats.c

2
iguana/exchanges/LP_instantdex.c

@ -487,7 +487,7 @@ cJSON *LP_swapstats_item(struct LP_swapstats *sp,int32_t iambob)
jadd64bits(reqjson,"aliceid",sp->aliceid);
memset(zero.bytes,0,sizeof(zero));
LP_reserved_msg(0,"","",zero,jprint(reqjson,1));
if ( (swapstr= basilisk_swapentry(sp->Q.R.requestid,sp->Q.R.quoteid,1)) != 0 )
if ( (swapstr= basilisk_swapentry(sp->Q.R.requestid,sp->Q.R.quoteid,0)) != 0 )
{
if ( (swapjson= cJSON_Parse(swapstr)) != 0 )
{

2
iguana/exchanges/LP_stats.c

@ -65,7 +65,7 @@ char *LP_dPoW_recv(cJSON *argjson)
notarized = jint(argjson,"notarized");
notarizedhash = jbits256(argjson,"notarizedhash");
notarizationtxid = jbits256(argjson,"notarizationtxid");
printf("dPoW %s\n",jprint(argjson,0));
//printf("dPoW %s\n",jprint(argjson,0));
if ( notarized > coin->notarized && LP_notarization_validate(symbol,notarized,notarizedhash,notarizationtxid) == 0 )
{
coin->notarized = notarized;

Loading…
Cancel
Save