Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
b4085ffa6d
  1. 2
      iguana/iguana_recv.c

2
iguana/iguana_recv.c

@ -527,7 +527,7 @@ void iguana_gotblockM(struct iguana_info *coin,struct iguana_peer *addr,struct i
netBLOCKS++;
}
req->addr = addr;
if ( req->zblock.mainchain == 0 && req->zblock.valid == 0 && req->zblock.txvalid == 0 && iguana_RTrawdata(coin,origtxdata->zblock.RO.hash2,0,&len,&numtx,1) == 0 )
if ( req->zblock.mainchain == 0 || req->zblock.valid == 0 || req->zblock.txvalid == 0 || iguana_RTrawdata(coin,origtxdata->zblock.RO.hash2,0,&len,&numtx,1) == 0 )
queue_enqueue("recvQ",&coin->recvQ,&req->DL,0);
}
}

Loading…
Cancel
Save