From c091ca8214dbfea672be5e9a30c9c935dac0b2fd Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 14 Jun 2017 15:45:45 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_transaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_transaction.c b/iguana/exchanges/LP_transaction.c index 5c07e0539..9f1f0025a 100644 --- a/iguana/exchanges/LP_transaction.c +++ b/iguana/exchanges/LP_transaction.c @@ -106,7 +106,7 @@ uint64_t oldLP_txvalue(char *symbol,bits256 txid,int32_t vout) uint64_t LP_txvalue(char *coinaddr,char *symbol,bits256 txid,int32_t vout) { uint64_t value = 0; double interest; cJSON *txobj,*sobj,*array; int32_t n; - coinaddr = 0; + coinaddr[0] = 0; if ( (txobj= LP_gettxout(symbol,txid,vout)) != 0 ) { if ( (value= jdouble(txobj,"amount")*SATOSHIDEN) == 0 && (value= jdouble(txobj,"value")*SATOSHIDEN) == 0 )