diff --git a/basilisk/basilisk.c b/basilisk/basilisk.c index fc68461e7..9097be291 100755 --- a/basilisk/basilisk.c +++ b/basilisk/basilisk.c @@ -853,9 +853,9 @@ void basilisk_requests_poll(struct supernet_info *myinfo) } if ( hwm > 0. ) { - printf("hwm %f\n",hwm); if ( bits256_cmp(myinfo->myaddr.persistent,issueR.hash) == 0 ) // my request { + printf("my req hwm %f\n",hwm); if ( (retstr= InstantDEX_accept(myinfo,0,0,0,issueR.requestid,issueR.quoteid)) != 0 ) free(retstr); if ( (retstr= basilisk_start(myinfo,&issueR,1)) != 0 ) @@ -863,6 +863,7 @@ void basilisk_requests_poll(struct supernet_info *myinfo) } else //if ( issueR.quoteid == 0 ) { + printf("other req hwm %f\n",hwm); issueR.quoteid = basilisk_quoteid(&issueR); issueR.desthash = myinfo->myaddr.persistent; if ( (retstr= basilisk_start(myinfo,&issueR,0)) != 0 ) diff --git a/basilisk/basilisk_DEX.c b/basilisk/basilisk_DEX.c index b2e37c788..ea2d529f9 100755 --- a/basilisk/basilisk_DEX.c +++ b/basilisk/basilisk_DEX.c @@ -228,7 +228,7 @@ char *basilisk_start(struct supernet_info *myinfo,struct basilisk_request *rp,ui { cJSON *retjson; //char msgjsonstr[64]; //sprintf(rp->message,"{\"state\":%u\"}",statebits); - if ( myinfo->RELAYID < 0 && (bits256_cmp(rp->hash,myinfo->myaddr.persistent) == 0 || bits256_cmp(rp->desthash,myinfo->myaddr.persistent) == 0) ) + if ( (bits256_cmp(rp->hash,myinfo->myaddr.persistent) == 0 || bits256_cmp(rp->desthash,myinfo->myaddr.persistent) == 0) ) { printf("START thread to complete %u/%u for (%s %.8f) <-> (%s %.8f) q.%u\n",rp->requestid,rp->quoteid,rp->src,dstr(rp->srcamount),rp->dest,dstr(rp->destamount),rp->quoteid); if ( basilisk_thread_start(myinfo,rp,statebits) != 0 )