Browse Source

Test

etomic
jl777 8 years ago
parent
commit
1981dd5e00
  1. 3
      iguana/exchanges/LP_nativeDEX.c
  2. 2
      iguana/exchanges/LP_signatures.c

3
iguana/exchanges/LP_nativeDEX.c

@ -21,9 +21,8 @@
// detecting new deposits in inventory // detecting new deposits in inventory
// BTC swaps // BTC swaps
// bot progress // bot progress
// will stale peers ever die? // will stale peers ever die? <- after a day it should
// swap started event for bot // swap started event for bot
// lack of full depth
// withdraw too big // withdraw too big
// bot status 1600% ? // bot status 1600% ?
// BCH signing // BCH signing

2
iguana/exchanges/LP_signatures.c

@ -593,7 +593,7 @@ char *LP_notify_recv(cJSON *argjson)
LP_pubkey_sigcheck(pubp,argjson); LP_pubkey_sigcheck(pubp,argjson);
if ( (ipaddr= jstr(argjson,"isLP")) != 0 ) if ( (ipaddr= jstr(argjson,"isLP")) != 0 )
{ {
printf("notify got isLP %s %d\n",ipaddr,jint(argjson,"isming")); printf("notify got isLP %s %d\n",ipaddr,jint(argjson,"ismine"));
LP_peer_recv(ipaddr,jint(argjson,"ismine")); LP_peer_recv(ipaddr,jint(argjson,"ismine"));
if ( IAMLP != 0 && G.LP_IAMLP == 0 && strcmp(ipaddr,LP_myipaddr) == 0 ) if ( IAMLP != 0 && G.LP_IAMLP == 0 && strcmp(ipaddr,LP_myipaddr) == 0 )
{ {

Loading…
Cancel
Save