Browse Source

Test

etomic
jl777 7 years ago
parent
commit
32c0e12011
  1. 2
      iguana/exchanges/LP_stats.c
  2. 2
      iguana/exchanges/LP_zeroconf.c

2
iguana/exchanges/LP_stats.c

@ -237,7 +237,7 @@ int32_t LP_statslog_parsequote(char *method,cJSON *lineobj)
sp->Q.R.quoteid = quoteid;
if ( LP_swapstats_update(sp,&Q,lineobj) == 0 )
flag = 1;
else printf("LP_swapstats_update error\n");
//else printf("LP_swapstats_update error\n");
}
if ( flag == 0 )
{

2
iguana/exchanges/LP_zeroconf.c

@ -265,7 +265,7 @@ int64_t LP_dynamictrust(bits256 pubkey,int64_t kmdvalue)
swaps_kmdvalue += LP_kmdvalue(sp->Q.destcoin,sp->Q.destsatoshis);
}
//printf("%s zeroconf_credits %.8f vs (%.8f + current %.8f)\n",coinaddr,dstr(ap->zeroconf_credits),dstr(swaps_kmdvalue),dstr(kmdvalue));
if ( ap->zeroconf_credits > swaps_kmdvalue+kmdvalue )
//if ( ap->zeroconf_credits > swaps_kmdvalue+kmdvalue )
return(ap->zeroconf_credits - (swaps_kmdvalue+kmdvalue));
}
}

Loading…
Cancel
Save