Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
bd69638180
  1. 2
      iguana/iguana_msg.c

2
iguana/iguana_msg.c

@ -566,7 +566,7 @@ int32_t iguana_msgparser(struct iguana_info *coin,struct iguana_peer *addr,struc
memset(&txdata,0,sizeof(txdata));
if ( (len= iguana_gentxarray(coin,rawmem,&txdata,&len,data,recvlen)) == recvlen )
iguana_gotblockM(coin,addr,&txdata,rawmem->ptr,H,data,recvlen);
else printf("parse error block txn_count.%d, len.%d vs recvlen.%d\n",txdata.block.RO.txn_count,len,recvlen);
else printf("parse error block txn_count.%d, len.%d vs recvlen.%d from.(%s)\n",txdata.block.RO.txn_count,len,recvlen,addr->ipaddr);
} else len = iguana_peergetrequest(coin,addr,data,recvlen,1);
}
}

Loading…
Cancel
Save