Browse Source

Test

etomic
jl777 8 years ago
parent
commit
a0c238c9fa
  1. 2
      iguana/exchanges/LP_unspents.c

2
iguana/exchanges/LP_unspents.c

@ -189,7 +189,7 @@ struct LP_peerinfo *LP_addpeer(struct LP_peerinfo *mypeer,int32_t mypubsock,char
if ( mypeer != 0 ) if ( mypeer != 0 )
{ {
mypeer->numpeers++; mypeer->numpeers++;
printf("_LPaddpeer %s -> numpeers.%d mypubsock.%d\n",ipaddr,mypeer->numpeers,mypubsock); printf("_LPaddpeer %s -> numpeers.%d mypubsock.%d other.(%d %d)\n",ipaddr,mypeer->numpeers,mypubsock,numpeers,numutxos);
} else peer->numpeers = 1; // will become mypeer } else peer->numpeers = 1; // will become mypeer
portable_mutex_unlock(&LP_peermutex); portable_mutex_unlock(&LP_peermutex);
if ( mypubsock >= 0 ) if ( mypubsock >= 0 )

Loading…
Cancel
Save