diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index de76c6e21..ee01aae99 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -901,7 +901,7 @@ void verusblocks(struct iguana_info *coin) height = -1; while ( (blockjson= LP_blockjson(&height,coin->symbol,hashstr,0)) != 0 ) { - height = juint(json,"height"); + height = juint(blockjson,"height"); if ( (txs= jarray(&n,blockjson,"tx")) != 0 ) { txid = jbits256i(txs,0);