Browse Source

Test

etomic
jl777 8 years ago
parent
commit
83b502f5d6
  1. 8
      iguana/exchanges/LP_unspents.c

8
iguana/exchanges/LP_unspents.c

@ -343,10 +343,10 @@ char *stats_JSON(cJSON *argjson,char *remoteaddr,uint16_t port)
peer->numpeers = otherpeers;
if ( otherpeers != LP_numpeers )
{
peer->notify_port = port;
peer->notify_numpeers = otherpeers;
peer->notify_margin = jdouble(argjson,"profit");
strcpy(peer->notify_ipaddr,ipaddr);
peer->notify_port = LP_peerinfos[0].port;
peer->notify_numpeers = LP_numpeers;
peer->notify_margin = LP_peerinfos[0].profitmargin;
strcpy(peer->notify_ipaddr,LP_peerinfos[0].ipaddr);
}
}
}

Loading…
Cancel
Save