Browse Source

Test

etomic
jl777 7 years ago
parent
commit
23a2aa6a2d
  1. 4
      iguana/exchanges/LP_utxo.c

4
iguana/exchanges/LP_utxo.c

@ -671,9 +671,9 @@ int32_t LP_txheight(struct iguana_info *coin,bits256 txid)
if ( bits256_nonz(blockhash) != 0 && (blockobj= LP_getblock(coin->symbol,blockhash)) != 0 ) if ( bits256_nonz(blockhash) != 0 && (blockobj= LP_getblock(coin->symbol,blockhash)) != 0 )
{ {
height = jint(blockobj,"height"); height = jint(blockobj,"height");
//printf("%s LP_txheight.%d\n",coin->symbol,height); char str[65]; printf("%s %s LP_txheight.%d\n",coin->symbol,bits256_str(str,txid),height);
free_json(blockobj); free_json(blockobj);
} //else printf("%s LP_txheight error (%s)\n",coin->symbol,jprint(txobj,0)); } else printf("%s LP_txheight error (%s)\n",coin->symbol,jprint(txobj,0));
free_json(txobj); free_json(txobj);
} }
} }

Loading…
Cancel
Save