From 55bc95d0c14f61dbe277d4f8da7ca8644acfa4d1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 7 Jul 2017 23:29:02 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_utxos.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iguana/exchanges/LP_utxos.c b/iguana/exchanges/LP_utxos.c index 7e515cee5..cc5abb1d6 100644 --- a/iguana/exchanges/LP_utxos.c +++ b/iguana/exchanges/LP_utxos.c @@ -619,7 +619,10 @@ struct LP_utxoinfo *LP_utxoaddjson(int32_t iambob,int32_t pubsock,cJSON *argjson portable_mutex_lock(&LP_UTXOmutex); utxo = LP_utxoadd(iambob,pubsock,jstr(argjson,"coin"),jbits256(argjson,"txid"),jint(argjson,"vout"),j64bits(argjson,"value"),jbits256(argjson,"txid2"),jint(argjson,"vout2"),j64bits(argjson,"value2"),jstr(argjson,"script"),jstr(argjson,"address"),jbits256(argjson,"pubkey"),jstr(argjson,"gui"),juint(argjson,"session")); if ( LP_ismine(utxo) > 0 && utxo->T.lasttime == 0 ) + { utxo->T.lasttime = (uint32_t)time(NULL); + printf("set lasttime!\n"); + } portable_mutex_unlock(&LP_UTXOmutex); return(utxo); }