diff --git a/crypto777/iguana_OS.c b/crypto777/iguana_OS.c index e2ec357d2..63d41127c 100755 --- a/crypto777/iguana_OS.c +++ b/crypto777/iguana_OS.c @@ -234,6 +234,7 @@ void queue_enqueue(char *name,queue_t *queue,struct queueitem *origitem,int32_t printf("FATAL type error: queueing empty value\n");//, getchar(); return; } + fprintf(stderr,"enqueue.(%s) %p offset.%d\n",queue->name,origitem,offsetflag); lock_queue(queue); item = (struct queueitem *)((long)origitem - offsetflag*sizeof(struct queueitem)); DL_APPEND(queue->list,item); diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 75376d838..41cf00ab4 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -738,7 +738,7 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct OS_memspace *mem,stru } if ( coin->current == 0 ) coin->current = coin->bundles[0]; - if ( (range= coin->peers.numranked) > coin->MAXBUNDLES ) + //if ( (range= coin->peers.numranked) > coin->MAXBUNDLES ) range = coin->MAXBUNDLES; currentbp = coin->current; lastbp = coin->lastpending;