Browse Source

Test

etomic
jl777 8 years ago
parent
commit
64731758c2
  1. 5
      basilisk/basilisk_swap.c
  2. 2
      iguana/dpow/dpow_network.c

5
basilisk/basilisk_swap.c

@ -3568,7 +3568,7 @@ cJSON *basilisk_remember(struct supernet_info *myinfo,int64_t *KMDtotals,int64_t
}
origfinishedflag = finishedflag = 1;
free(fstr);
} else printf("%s not finished\n",fname);
}
if ( iambob < 0 )
return(0);
item = cJSON_CreateObject();
@ -3625,7 +3625,8 @@ cJSON *basilisk_remember(struct supernet_info *myinfo,int64_t *KMDtotals,int64_t
}
} //else printf("no symbol\n");
free(fstr);
}
} else if ( finishedflag == 0 )
printf("%s not finished\n",fname);
}
//printf("iambob.%d src.%s dest.%s bob.%s alice.%s pubA0.(%s)\n",iambob,src,dest,bobcoin,alicecoin,bits256_str(str,pubA0));
Adestaddr[0] = destaddr[0] = 0;

2
iguana/dpow/dpow_network.c

@ -830,7 +830,7 @@ char *dex_reqsend(struct supernet_info *myinfo,char *handler,uint8_t *data,int32
{
if ( (retstrs[j]= _dex_reqsend(myinfo,handler,0,0,data,datalen)) != 0 )
{
printf("j.%d of max.%d M.%d (%s)\n",j,max,M,retstrs[j]);
//printf("j.%d of max.%d M.%d (%s)\n",j,max,M,retstrs[j]);
if ( strncmp(retstrs[j],"{\"error\":\"null return\"}",strlen("{\"error\":\"null return\"}")) != 0 && strncmp(retstrs[j],"[]",strlen("[]")) != 0 && strcmp("0",retstrs[j]) != 0 )
{
if ( ++j == M )

Loading…
Cancel
Save