|
|
@ -1389,7 +1389,7 @@ int32_t LP_tradecommand(void *ctx,char *myipaddr,int32_t pubsock,cJSON *argjson, |
|
|
|
} |
|
|
|
LP_tradecommand_log(argjson); |
|
|
|
qprice = (double)Q.destsatoshis / (Q.satoshis - Q.txfee); //jdouble(argjson,"price");
|
|
|
|
printf("%s\n",jprint(argjson,0)); |
|
|
|
//printf("%s\n",jprint(argjson,0));
|
|
|
|
printf("%-4d uuid.%32s %12s %5s/%-5s %12.8f -> %12.8f (%11.8f) | RT.%d %d n%d\n",(uint32_t)time(NULL) % 3600,Q.uuidstr+32,method,Q.srccoin,Q.destcoin,dstr(Q.satoshis),dstr(Q.destsatoshis),qprice,LP_RTcount,LP_swapscount,G.netid); |
|
|
|
retval = 1; |
|
|
|
aliceid = j64bits(argjson,"aliceid"); |
|
|
|