From 44eeb9445d08e653fd3f1e762fcdbb49a81e3652 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 23 May 2018 12:26:32 -1100 Subject: [PATCH] Test --- iguana/exchanges/LP_transaction.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/iguana/exchanges/LP_transaction.c b/iguana/exchanges/LP_transaction.c index 7c65a3ea2..6c6fe882d 100644 --- a/iguana/exchanges/LP_transaction.c +++ b/iguana/exchanges/LP_transaction.c @@ -1289,11 +1289,11 @@ char *LP_createrawtransaction(cJSON **txobjp,int32_t *numvinsp,struct iguana_inf { if ( (txobj= LP_gettxout(coin->symbol,coin->smartaddr,utxotxid,utxovout)) != 0 ) { - utxos[0].txid = utxotxid; - utxos[0].vout = utxovout; - utxos[0].value = LP_value_extract(txobj,0,utxotxid); - free_json(txout); - printf("add onevin %s/v%d %.8f\n",bits256_str(str,utxotxid),utxovout,dstr(utxos[0].value)); + utxos[0].U.txid = utxotxid; + utxos[0].U.vout = utxovout; + utxos[0].U.value = LP_value_extract(txobj,0,utxotxid); + free_json(txobj); + printf("add onevin %s/v%d %.8f\n",bits256_str(str,utxotxid),utxovout,dstr(utxos[0].U.value)); } numutxos = 1; }