From cf225f8aefdca1219ac503ffe24e86a71954f882 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 4 Mar 2017 23:39:37 +0200 Subject: [PATCH] Test --- basilisk/basilisk_DEX.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basilisk/basilisk_DEX.c b/basilisk/basilisk_DEX.c index 7d0aafeb2..564a30f23 100755 --- a/basilisk/basilisk_DEX.c +++ b/basilisk/basilisk_DEX.c @@ -276,7 +276,7 @@ void basilisk_requests_poll(struct supernet_info *myinfo,bits256 privkey) { static uint32_t lastpoll; char *retstr; uint8_t data[32768]; cJSON *outerarray,*retjson; uint32_t msgid,channel; int32_t datalen,i,n; struct basilisk_request issueR; double hwm = 0.; - if ( time(NULL) < lastpoll+13 ) + if ( time(NULL) < lastpoll+20 || (myinfo->IAMLP == 0 && myinfo->DEXactive == 0) ) return; lastpoll = (uint32_t)time(NULL); memset(&issueR,0,sizeof(issueR));