diff --git a/basilisk/basilisk.c b/basilisk/basilisk.c index f7dc5d20c..899ab3fac 100755 --- a/basilisk/basilisk.c +++ b/basilisk/basilisk.c @@ -641,13 +641,12 @@ int32_t basilisk_relays_ping(struct supernet_info *myinfo,uint8_t *data,int32_t free(item); } } + portable_mutex_unlock(&myinfo->DEX_mutex); sn = i; datalen += iguana_rwnum(1,&data[datalen],sizeof(sn),&sn); - portable_mutex_unlock(&myinfo->DEX_mutex); - - //for (i=0; i datalen ) @@ -756,6 +752,9 @@ void basilisk_respond_ping(struct supernet_info *myinfo,struct iguana_peer *addr if ( len != datalen ) printf("PING got %d, processed.%d from (%s)\n",datalen,len,ipbuf); else printf("\n"); + for (i=0; i