diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index f1b04c887..752492d7c 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -202,13 +202,13 @@ cJSON *LP_NXT_redeems() msgjson = 0; txnum = assetid = qty = 0; item = jitem(array,i); - printf("%d: %s\n",i,jprint(item,0)); + txnum = j64bits(item,"transaction"); + assetid = j64bits(item,"asset"); + qty = j64bits(item,"quantityQNT"); + msgstr = jstr(item,"message"); + //printf("%d: %s\n",i,jprint(item,0)); if ( (recv= jstr(item,"recipientRS")) != 0 && strcmp(recv,"NXT-MRBN-8DFH-PFMK-A4DBM") == 0 && jint(item,"version.AssetTransfer") == 1 ) { - txnum = j64bits(item,"transaction"); - assetid = j64bits(item,"asset"); - qty = j64bits(item,"quantityQNT"); - msgstr = jstr(item,"message"); if ( (attach= jobj(item,"attachment")) != 0 ) { printf("txnum.%llu (%s)\n",(long long)txnum,jprint(attach,0));