jl777 7 years ago
parent
commit
bc662fb420
  1. 1
      iguana/exchanges/LP_nativeDEX.c

1
iguana/exchanges/LP_nativeDEX.c

@ -889,6 +889,7 @@ void LP_initpeers(int32_t pubsock,struct LP_peerinfo *mypeer,char *myipaddr,uint
} }
if ( seednode == 0 || seednode[0] == 0 ) if ( seednode == 0 || seednode[0] == 0 )
{ {
printf("default seed nodes for netid.%d\n",netid);
OS_randombytes((void *)&r,sizeof(r)); OS_randombytes((void *)&r,sizeof(r));
for (j=0; j<sizeof(default_LPnodes)/sizeof(*default_LPnodes)&&j<5; j++) for (j=0; j<sizeof(default_LPnodes)/sizeof(*default_LPnodes)&&j<5; j++)
{ {

Loading…
Cancel
Save