Browse Source

Test

etomic
jl777 7 years ago
parent
commit
7f7012fe19
  1. 4
      iguana/exchanges/LP_rpc.c

4
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;
}

Loading…
Cancel
Save