From eb1ee31610432afadad8ba46eb6ef769e42e6a14 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 4 Mar 2017 23:43:38 +0200 Subject: [PATCH] Test --- basilisk/jumblr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basilisk/jumblr.c b/basilisk/jumblr.c index e1ffb7f58..a53d05069 100755 --- a/basilisk/jumblr.c +++ b/basilisk/jumblr.c @@ -369,7 +369,7 @@ void jumblr_DEXcheck(struct supernet_info *myinfo,struct iguana_info *coinkmd,ch static double kmdprice,pending; static uint32_t lasttime; double btcavail=0,minbtc,avebid,aveask,highbid,lowask,CMC_average,USD_average,changes[3]; struct iguana_info *coinbtc; cJSON *vals; bits256 hash; char *retstr; coinbtc = iguana_coinfind("BTC"); - if ( kmdprice == 0. || time(NULL) > lasttime+600 ) + if ( kmdprice == 0. || time(NULL) > lasttime+60 ) { kmdprice = get_theoretical(&avebid,&aveask,&highbid,&lowask,&CMC_average,changes,"komodo","KMD","BTC",&USD_average); lasttime = (uint32_t)time(NULL);