Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
4d01ed0b3a
  1. 2
      iguana/iguana_bundles.c
  2. 2
      iguana/main.c

2
iguana/iguana_bundles.c

@ -716,7 +716,7 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int
}
retval = 1;
}
else if ( bp->hdrsi >= starti && bp->hdrsi <= starti+range )
else if ( bp->hdrsi > starti && bp->hdrsi <= starti+range )
{
max = sqrt(bp->n) - (bp->n/coin->MAXBUNDLES)*(bp->hdrsi - starti);
if ( max > 100 )

2
iguana/main.c

@ -336,7 +336,7 @@ void mainloop(struct supernet_info *myinfo)
for (i=0; i<IGUANA_MAXCOINS; i++)
if ( (coin= Coins[i]) != 0 && coin->active != 0 && (bp= coin->current) != 0 )
{
//iguana_bundleissue(coin,bp,bp->n,100);
iguana_bundleissue(coin,bp,bp->n,100);
if ( (ptr= queue_dequeue(&balancesQ,0)) != 0 )
{
if ( ptr->bp != 0 && ptr->coin != 0 )

Loading…
Cancel
Save