From 7f7012fe192bd239c3644defc9c0b319e897d5c8 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 19 Oct 2017 22:39:46 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_rpc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index 31b038ae1..1d7572f16 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -1050,12 +1050,16 @@ int32_t LP_notarization_latest(struct iguana_info *coin) if ( (blockjson= LP_getblock(coin->symbol,blockhash)) != 0 ) { if ( (hasnotarization= LP_hasnotarization(coin,blockjson)) > 0 ) + { height = jint(blockjson,"height"); + printf("height.%d\n",height); + } else { blockhash = jbits256(blockjson,"previousblockhash"); if ( bits256_nonz(blockhash) == 0 ) { + printf("null prev.(%s)\n",jprint(blockjson,0)); free_json(blockjson); break; }