Browse Source

Test

etomic
jl777 8 years ago
parent
commit
ae9be1f4d8
  1. 4
      iguana/exchanges/LP_forwarding.c

4
iguana/exchanges/LP_forwarding.c

@ -51,6 +51,8 @@ char *LP_lookup(bits256 pubkey)
int32_t LP_hello(struct LP_forwardinfo *ptr)
{
int32_t i,n=10; char msg[512]; struct nn_pollfd pfd;
if ( bits256_cmp(ptr->pubkey,LP_mypubkey) != 0 )
{
pfd.fd = ptr->pushsock;
pfd.events = NN_POLLOUT;
for (i=0; i<n; i++)
@ -66,6 +68,8 @@ int32_t LP_hello(struct LP_forwardinfo *ptr)
printf("%d iterations on nn_poll and %s pushsock still not ready\n",i,ptr->pushaddr);
return(-1);
}
return(0);
}
int32_t LP_hellos()
{

Loading…
Cancel
Save