Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
4a10c91f75
  1. 11
      iguana/iguana_bundles.c

11
iguana/iguana_bundles.c

@ -456,15 +456,8 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int
j = (i + r) % numpeers;
if ( donecounts[j] == minval && (addr= coin->peers.ranked[j]) != 0 )
{
for (i=j; i<bp->n; i+=numpeers)
{
if ( (block= bp->blocks[i]) != 0 )
{
printf("send to addr[%d]\n",j);
iguana_sendblockreqPT(coin,addr,bp,i,block->RO.hash2,0);
break;
}
}
printf("send to addr[%d]\n",j);
iguana_sendblockreqPT(coin,addr,bp,oldest->bundlei,oldest->RO.hash2,0);
break;
}
}

Loading…
Cancel
Save