diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index c4e4a00af..71362afed 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -20,9 +20,12 @@ char *LP_issue_curl(char *debugstr,char *destip,uint16_t port,char *url) { - char *retstr = 0; struct LP_peerinfo *peer = 0; + char *retstr = 0; int32_t maxerrs; struct LP_peerinfo *peer = 0; peer = LP_peerfind((uint32_t)calc_ipbits(destip),port); - if ( peer == 0 || peer->errors < LP_MAXPEER_ERRORS ) + if ( strncmp("5.9.253",destip,strlen("5.9.253")) == 0 ) + maxerrs = LP_MAXPEER_ERRORS; + else maxerrs = 1; + if ( peer == 0 || peer->errors < maxerrs ) { if ( (retstr= issue_curlt(url,LP_HTTP_TIMEOUT)) == 0 ) {