Browse Source

Test

etomic
jl777 8 years ago
parent
commit
929819f4bc
  1. 2
      basilisk/basilisk_swap.c
  2. 2
      iguana/dpow/dpow_network.c

2
basilisk/basilisk_swap.c

@ -3654,7 +3654,7 @@ cJSON *basilisk_remember(struct supernet_info *myinfo,int64_t *KMDtotals,int64_t
}
if ( sentflags[BASILISK_BOBREFUND] == 0 && sentflags[BASILISK_BOBDEPOSIT] != 0 && bits256_nonz(txids[BASILISK_BOBDEPOSIT]) != 0 && bits256_nonz(depositspent) == 0 )
{
if ( bits256_nonz(paymentspent) != 0 )
if ( bits256_nonz(paymentspent) != 0 || time(NULL) > expiration )
{
//if ( txbytes[BASILISK_BOBREFUND] == 0 )
{

2
iguana/dpow/dpow_network.c

@ -819,7 +819,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