@ -521,7 +521,11 @@ int32_t LP_utxo_clientpublish(struct LP_utxoinfo *utxo)
if ( (retjson= cJSON_Parse(retstr)) != 0 )
{
if ( jobj(retjson,"error") == 0 )
if ( strcmp("HUSH",utxo->coin) == 0 )
printf("clientpublish %s (%s)\n",peer->ipaddr,retstr);
utxo->T.lasttime = (uint32_t)time(NULL);
}
free_json(retjson);
free(retstr);
@ -494,8 +494,7 @@ struct LP_utxoinfo *LP_utxoadd(int32_t iambob,int32_t mypubsock,char *symbol,bit
if ( mypubsock >= 0 )
LP_send(mypubsock,jprint(LP_utxojson(utxo),1),1);
else
LP_utxo_clientpublish(utxo);
else LP_utxo_clientpublish(utxo);
if ( LP_mypeer != 0 && LP_ismine(utxo) > 0 )
LP_mypeer->numutxos++;