|
|
@ -247,7 +247,7 @@ void LP_notify_pubkeys(void *ctx,int32_t pubsock) |
|
|
|
char *LP_postedprice(cJSON *argjson) |
|
|
|
{ |
|
|
|
bits256 pubkey; double price; char *base,*rel; |
|
|
|
//printf("PRICE POSTED.(%s)\n",jprint(argjson,0));
|
|
|
|
printf("PRICE POSTED.(%s)\n",jprint(argjson,0)); |
|
|
|
if ( (base= jstr(argjson,"base")) != 0 && (rel= jstr(argjson,"rel")) != 0 && (price= jdouble(argjson,"price")) > SMALLVAL ) |
|
|
|
{ |
|
|
|
pubkey = jbits256(argjson,"pubkey"); |
|
|
|