|
|
@ -219,7 +219,7 @@ char *stats_JSON(cJSON *argjson,char *remoteaddr,uint16_t port) // from rpc port |
|
|
|
{ |
|
|
|
HASH_ITER(hh,LP_utxoinfos,utxo,tmp) |
|
|
|
{ |
|
|
|
if ( LP_ismine(utxo) != 0 && strcmp(utxo->coin,base) == 0 ) |
|
|
|
if ( LP_ismine(utxo) != 0 && (strcmp(utxo->coin,base) == 0 || strcmp(utxo->coin,rel) == 0) ) |
|
|
|
LP_priceping(LP_mypubsock,utxo,rel,LP_profitratio - 1.); |
|
|
|
} |
|
|
|
} |
|
|
|