From 432a1689cd173f92b16c626e0feab2bb326958df Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 1 Jun 2018 23:49:11 -1100 Subject: [PATCH] Test --- iguana/exchanges/LP_privkey.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/iguana/exchanges/LP_privkey.c b/iguana/exchanges/LP_privkey.c index 545413c99..5e48126f7 100644 --- a/iguana/exchanges/LP_privkey.c +++ b/iguana/exchanges/LP_privkey.c @@ -417,8 +417,8 @@ bits256 LP_privkeycalc(void *ctx,uint8_t *pubkey33,bits256 *pubkeyp,struct iguan void verus_utxos(struct iguana_info *coin,char *coinaddr) { - cJSON *array,*item; char buf[64]; int32_t i,n; - sprintf(buf,"[%d, 99999999, [\"%s\"]]",0,coinaddr); + cJSON *array,*item; char buf[64],str[65]; int32_t i,vout,n=0; bits256 txid; + sprintf(buf,"[%d, 99999999, [\"%s\"]]",1,coinaddr); array = bitcoin_json(coin,"listunspent",buf); if ( array != 0 ) { @@ -427,8 +427,12 @@ void verus_utxos(struct iguana_info *coin,char *coinaddr) for (i=0; i