Browse Source

Test

etomic
jl777 7 years ago
parent
commit
dcb4ea56b1
  1. 2
      iguana/exchanges/LP_cache.c
  2. 2
      iguana/exchanges/LP_include.h

2
iguana/exchanges/LP_cache.c

@ -231,7 +231,7 @@ bits256 LP_merkleroot(struct iguana_info *coin,struct electrum_info *ep,int32_t
int32_t LP_merkleproof(struct iguana_info *coin,char *coinaddr,struct electrum_info *ep,bits256 txid,int32_t height)
{
struct LP_transaction *tx=0; cJSON *merkobj,*merkles,*retjson; bits256 roothash,merkleroot; int32_t m,SPV = 0;
if ( height < 0 )
if ( height <= 0 )
return(0);
if ( (tx= LP_transactionfind(coin,txid)) == 0 && strcmp(coinaddr,coin->smartaddr) == 0 )
{

2
iguana/exchanges/LP_include.h

@ -23,7 +23,7 @@
#define LP_MAJOR_VERSION "0"
#define LP_MINOR_VERSION "1"
#define LP_BUILD_NUMBER "11843"
#define LP_BUILD_NUMBER "14288"
#ifdef FROM_JS
#include <emscripten.h>

Loading…
Cancel
Save