|
@ -121,9 +121,7 @@ double LP_pricecache(struct LP_quoteinfo *qp,char *base,char *rel,bits256 txid,i |
|
|
printf("found %s/%s %.8f\n",base,rel,ptr->price); |
|
|
printf("found %s/%s %.8f\n",base,rel,ptr->price); |
|
|
return(ptr->price); |
|
|
return(ptr->price); |
|
|
} |
|
|
} |
|
|
else if ( qp != 0 ) |
|
|
//char str[65]; printf("cachemiss %s/%s %s/v%d\n",base,rel,bits256_str(str,txid),vout);
|
|
|
memset(qp,0,sizeof(*qp)); |
|
|
|
|
|
char str[65]; printf("cachemiss %s/%s %s/v%d\n",base,rel,bits256_str(str,txid),vout); |
|
|
|
|
|
return(0.); |
|
|
return(0.); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|