|
@ -203,7 +203,7 @@ int32_t LP_utxopurge(int32_t allutxos) |
|
|
cJSON *LP_inventoryjson(cJSON *item,struct LP_utxoinfo *utxo) |
|
|
cJSON *LP_inventoryjson(cJSON *item,struct LP_utxoinfo *utxo) |
|
|
{ |
|
|
{ |
|
|
struct _LP_utxoinfo u; |
|
|
struct _LP_utxoinfo u; |
|
|
jaddstr(item,"method","notified"); |
|
|
jaddstr(item,"method2","notified"); |
|
|
jaddstr(item,"coin",utxo->coin); |
|
|
jaddstr(item,"coin",utxo->coin); |
|
|
jaddnum(item,"now",time(NULL)); |
|
|
jaddnum(item,"now",time(NULL)); |
|
|
jaddstr(item,"address",utxo->coinaddr); |
|
|
jaddstr(item,"address",utxo->coinaddr); |
|
|