Browse Source

Test

etomic
jl777 7 years ago
parent
commit
907de285bf
  1. 2
      iguana/exchanges/LP_cache.c
  2. 2
      iguana/exchanges/LP_ordermatch.c
  3. 2
      iguana/exchanges/LP_socket.c

2
iguana/exchanges/LP_cache.c

@ -149,7 +149,7 @@ void LP_cacheptrs_init(struct iguana_info *coin)
}
printf("loaded %s %d entries total len.%ld\n",fname,count,len);
fclose(fp);
} else printf("couldnt find.(%s)\n",fname);
} //else printf("couldnt find.(%s)\n",fname);
if ( tflag != 0 )
OS_truncate(fname,len);
}

2
iguana/exchanges/LP_ordermatch.c

@ -649,7 +649,7 @@ int32_t LP_validSPV(char *symbol,char *coinaddr,bits256 txid,int32_t vout)
backupep = ep;
up->SPV = LP_merkleproof(coin,backupep,up->U.txid,up->U.height);
if ( up->SPV <= 0 )
return(-1);
return(up->SPV);
}
}
return(0);

2
iguana/exchanges/LP_socket.c

@ -1047,7 +1047,7 @@ cJSON *LP_electrumserver(struct iguana_info *coin,char *ipaddr,uint16_t port)
}
else
{
printf("launched %s electrum.(%s:%u)\n",coin->symbol,ep->ipaddr,ep->port);
//printf("launched %s electrum.(%s:%u)\n",coin->symbol,ep->ipaddr,ep->port);
jaddstr(retjson,"result","success");
ep->prev = coin->electrum;
coin->electrum = ep;

Loading…
Cancel
Save