From 212333fc904495394fdd855ee17152eed0a18bc9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 27 Jul 2017 20:00:54 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_prices.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_prices.c b/iguana/exchanges/LP_prices.c index 8e177e6e0..d68ae2257 100644 --- a/iguana/exchanges/LP_prices.c +++ b/iguana/exchanges/LP_prices.c @@ -842,6 +842,8 @@ void LP_pricefeedupdate(bits256 pubkey,char *base,char *rel,double price) } pubp->timestamp = (uint32_t)time(NULL); } else printf("error creating pubkey entry\n"); - } else printf("error finding %s/%s %.8f\n",base,rel,price); + } + else if ( (rand() % 100) == 0 ) + printf("error finding %s/%s %.8f\n",base,rel,price); }