jl777 8 years ago
parent
commit
8708488f7c
  1. 2
      iguana/iguana777.c
  2. 2
      iguana/iguana_recv.c

2
iguana/iguana777.c

@ -176,7 +176,7 @@ int32_t iguana_peermetrics(struct supernet_info *myinfo,struct iguana_info *coin
} }
coin->peers->numranked = n; coin->peers->numranked = n;
portable_mutex_unlock(&coin->peers_mutex); portable_mutex_unlock(&coin->peers_mutex);
//printf("NUMRANKED.%d\n",n); printf("peer metrics NUMRANKED.%d\n",n);
if ( i > 0 ) if ( i > 0 )
{ {
coin->peers->avemetric = (sum / i); coin->peers->avemetric = (sum / i);

2
iguana/iguana_recv.c

@ -2087,7 +2087,7 @@ int32_t iguana_blockQ(char *argstr,struct iguana_info *coin,struct iguana_bundle
{ {
if ( bp->emitfinish != 0 ) if ( bp->emitfinish != 0 )
return(0); return(0);
if ( coin->RTheight == 0 && bp->issued[bundlei] > 0 ) if ( bp != coin->current && coin->RTheight == 0 && bp->issued[bundlei] > 0 )
return(0); return(0);
} }
if ( priority != 0 ) if ( priority != 0 )

Loading…
Cancel
Save