jl777 8 years ago
parent
commit
01f2d2d7b3
  1. 2
      iguana/iguana_recv.c

2
iguana/iguana_recv.c

@ -776,7 +776,6 @@ void iguana_gotblockM(struct supernet_info *myinfo,struct iguana_info *coin,stru
} //else printf("getblockM autoextended.[%d]\n",bp->hdrsi);
}
}
return;
if ( bp == 0 )
{
printf("gotblockM no bp %s\n",bits256_str(str,origtxdata->zblock.RO.hash2));
@ -1628,6 +1627,7 @@ struct iguana_bundlereq *iguana_recvblockhashes(struct supernet_info *myinfo,str
struct iguana_bundlereq *iguana_recvblock(struct supernet_info *myinfo,struct iguana_info *coin,struct iguana_peer *addr,struct iguana_bundlereq *req,struct iguana_zblock *origblock,int32_t numtx,int32_t datalen,int32_t recvlen,int32_t *newhwmp)
{
struct iguana_bundle *bp=0,*prev; int32_t n,bundlei = -2; struct iguana_block *block,*next,*prevblock; char str[65]; bits256 hash2;
return(req);
if ( (block= iguana_blockfind("recv",coin,origblock->RO.hash2)) != 0 )
iguana_blockcopy(coin->chain->zcash,coin->chain->auxpow,coin,block,(struct iguana_block *)origblock);
else if ( (block= iguana_blockhashset("recvblock",coin,-1,origblock->RO.hash2,1)) == 0 )

Loading…
Cancel
Save