From b593a827e3b7d08cce9fd364824a33d48b59b6fd Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 25 Jun 2018 04:53:52 -1100 Subject: [PATCH] jobj --- iguana/exchanges/LP_mpnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_mpnet.c b/iguana/exchanges/LP_mpnet.c index b0bf877f5..3f15f9d1a 100644 --- a/iguana/exchanges/LP_mpnet.c +++ b/iguana/exchanges/LP_mpnet.c @@ -144,7 +144,7 @@ cJSON *LP_mpnet_parse(struct iguana_info *coin,bits256 txid) { if ( (vouts= jarray(&n,txobj,"vout")) != 0 ) { - if ( (sobj= jobject(jitem(vouts,n-1),"scriptPubKey")) != 0 && (hexstr= jstr(sobj,"hex")) != 0 && (hlen= strlen(hexstr)) < sizeof(linebuf)*2 ) + if ( (sobj= jobj(jitem(vouts,n-1),"scriptPubKey")) != 0 && (hexstr= jstr(sobj,"hex")) != 0 && (hlen= strlen(hexstr)) < sizeof(linebuf)*2 ) { len = (hlen >> 1); decode_hex(linebuf,len,hexstr);