diff --git a/iguana/exchanges/LP_forwarding.c b/iguana/exchanges/LP_forwarding.c index 6e33c8e38..e107765b5 100644 --- a/iguana/exchanges/LP_forwarding.c +++ b/iguana/exchanges/LP_forwarding.c @@ -349,7 +349,7 @@ int32_t LP_forward(void *ctx,char *myipaddr,int32_t pubsock,double profitmargin, { if ( jint(retjson,"forwarding") != 0 && peer->pushsock >= 0 ) { - printf("found LPnode.(%s) forward.(%s)\n",peer->ipaddr,jsonstr); + printf("found LPnode.(%s) forward.(%s)\n",peer->ipaddr,msg); if ( LP_send(peer->pushsock,msg,mlen,0) == mlen ) n++; } @@ -358,7 +358,7 @@ int32_t LP_forward(void *ctx,char *myipaddr,int32_t pubsock,double profitmargin, free(retstr); } } - if ( n >= sizeof(default_LPnodes)/sizeof(*default_LPnodes) ) + if ( n >= 0 )//sizeof(default_LPnodes)/sizeof(*default_LPnodes) ) break; } if ( msg != 0 )