Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
a5a64c1de8
  1. 2
      basilisk/basilisk_tradebot.c
  2. 2
      iguana/main.c

2
basilisk/basilisk_tradebot.c

@ -174,7 +174,7 @@ double basilisk_request_listprocess(struct supernet_info *myinfo,struct basilisk
double basilisk_process_results(struct supernet_info *myinfo,struct basilisk_request *issueR,cJSON *retjson,double hwm)
{
cJSON *array,*item; int32_t i,n,m; struct basilisk_request tmpR,R,refR,list[BASILISK_MAXRELAYS]; double metric=0.;
printf("process_results.(%s)\n",jprint(retjson,0));
//printf("process_results.(%s)\n",jprint(retjson,0));
if ( (array= jarray(&n,retjson,"result")) != 0 )
{
for (i=m=0; i<n; i++)

2
iguana/main.c

@ -1507,7 +1507,7 @@ void iguana_relays_init(struct supernet_info *myinfo)
free(str);
if ( (str= basilisk_addrelay_info(myinfo,0,(uint32_t)calc_ipbits("89.248.160.239"),GENESIS_PUBKEY)) != 0 )
free(str);
if ( (str= basilisk_addrelay_info(myinfo,0,(uint32_t)calc_ipbits("89.248.160.240"),GENESIS_PUBKEY)) != 0 )
if ( (str= basilisk_addrelay_info(myinfo,0,(uint32_t)calc_ipbits("89.248.160.240"),GENESIS_PUBKEY)) != 0 )
free(str);
}

Loading…
Cancel
Save