|
@ -521,7 +521,11 @@ int32_t LP_utxo_clientpublish(struct LP_utxoinfo *utxo) |
|
|
if ( (retjson= cJSON_Parse(retstr)) != 0 ) |
|
|
if ( (retjson= cJSON_Parse(retstr)) != 0 ) |
|
|
{ |
|
|
{ |
|
|
if ( jobj(retjson,"error") == 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); |
|
|
utxo->T.lasttime = (uint32_t)time(NULL); |
|
|
|
|
|
} |
|
|
free_json(retjson); |
|
|
free_json(retjson); |
|
|
} |
|
|
} |
|
|
free(retstr); |
|
|
free(retstr); |
|
|