From 6ff861d056e6ae0e48dd6b798e5683bec858067c Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 30 Oct 2017 12:12:08 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_rpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index be5b82e5e..33ddbaa01 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -207,10 +207,10 @@ cJSON *LP_NXT_redeems() //printf("%d: %s\n",i,jprint(item,0)); if ( (recv= jstr(item,"recipientRS")) != 0 && strcmp(recv,"NXT-MRBN-8DFH-PFMK-A4DBM") == 0 ) { - assetid = j64bits(item,"asset"); - qty = j64bits(item,"quantityQNT"); if ( (attach= jobj(item,"attachment")) != 0 && jint(attach,"version.AssetTransfer") == 1 ) { + assetid = j64bits(attach,"asset"); + qty = j64bits(attach,"quantityQNT"); printf("txnum.%llu (%s)\n",(long long)txnum,jprint(attach,0)); if ( (msgstr == 0 || msgstr[0] == 0) && jint(attach,"version.PrunablePlainMessage") == 1 ) {