Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
96c9b3fff8
  1. 5
      iguana/iguana_recv.c

5
iguana/iguana_recv.c

@ -510,7 +510,10 @@ void iguana_gotblockM(struct iguana_info *coin,struct iguana_peer *addr,struct i
if ( txdata->zblock.fpos == 0 )
{
numtx = origtxdata->zblock.RO.txn_count;
if ( coin->RTheight > 0 )
for (i=0; i<coin->bundlescount; i++)
if ( (bp= coin->bundles[i]) != 0 && bits256_cmp(bp->hashes[0],txdata->zblock.RO.hash2) == 0 )
break;
if ( i != coin->bundlescount || coin->RTheight > 0 )
{
portable_mutex_lock(&coin->RTmutex);
iguana_RTrawdata(coin,txdata->zblock.RO.hash2,data,&recvlen,&numtx,0);

Loading…
Cancel
Save