diff --git a/iguana/exchanges/LP_coins.c b/iguana/exchanges/LP_coins.c index fb57fb9fe..364d9ff6f 100644 --- a/iguana/exchanges/LP_coins.c +++ b/iguana/exchanges/LP_coins.c @@ -276,7 +276,7 @@ cJSON *LP_coinjson(struct iguana_info *coin,int32_t showwif) struct iguana_info *LP_conflicts_find(struct iguana_info *refcoin) { struct iguana_info *coin=0,*tmp; int32_t n; - if ( refcoin != 0 && (n= (int32_t)strlen(refcoin->serverport)) > 3 && strcmp("80",&refcoin->serverport[n-2]) != 0 ) + if ( refcoin != 0 && (n= (int32_t)strlen(refcoin->serverport)) > 3 && strcmp(":80",&refcoin->serverport[n-3]) != 0 ) { HASH_ITER(hh,LP_coins,coin,tmp) {