Browse Source

Test

etomic
jl777 8 years ago
parent
commit
f3c68a5a99
  1. 2
      iguana/exchanges/LP_unspents.c

2
iguana/exchanges/LP_unspents.c

@ -275,7 +275,7 @@ void LPinit(uint16_t port,double profitmargin)
for (i=1; i<LP_numpeers; i++)
{
peer = &LP_peerinfos[i];
if ( peer->numpeers != LP_numpeers && (peer->notify_ipaddr[0] == 0 || peer->notify_port == 0) )
if ( peer->numpeers < LP_numpeers && (peer->notify_ipaddr[0] == 0 || peer->notify_port == 0) )
{
strcpy(peer->notify_ipaddr,LP_peerinfos[0].ipaddr);
peer->notify_port = LP_peerinfos[0].port;

Loading…
Cancel
Save