Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
b7f41fa180
  1. 2
      basilisk/basilisk.c
  2. 2
      basilisk/basilisk_bitcoin.c
  3. 2
      basilisk/basilisk_swap.c

2
basilisk/basilisk.c

@ -824,7 +824,7 @@ void basilisk_requests_poll(struct supernet_info *myinfo)
memset(&issueR,0,sizeof(issueR)); memset(&issueR,0,sizeof(issueR));
if ( (retstr= InstantDEX_incoming(myinfo,0,0,0,0)) != 0 ) if ( (retstr= InstantDEX_incoming(myinfo,0,0,0,0)) != 0 )
{ {
printf("poll.(%s)\n",retstr); //printf("poll.(%s)\n",retstr);
if ( (outerarray= cJSON_Parse(retstr)) != 0 ) if ( (outerarray= cJSON_Parse(retstr)) != 0 )
{ {
if ( is_cJSON_Array(outerarray) != 0 ) if ( is_cJSON_Array(outerarray) != 0 )

2
basilisk/basilisk_bitcoin.c

@ -438,7 +438,7 @@ int32_t basilisk_vins_validate(struct supernet_info *myinfo,struct iguana_info *
retval = -1; retval = -1;
if ( (valstr= basilisk_value(myinfo,coin,0,0,myinfo->myaddr.persistent,argjson,0)) != 0 ) if ( (valstr= basilisk_value(myinfo,coin,0,0,myinfo->myaddr.persistent,argjson,0)) != 0 )
{ {
printf("valstr.(%d) %s\n",i,valstr); //printf("valstr.(%d) %s\n",i,valstr);
if ( (valuearray= cJSON_Parse(valstr)) != 0 ) if ( (valuearray= cJSON_Parse(valstr)) != 0 )
{ {
if ( is_cJSON_Array(valuearray) != 0 ) if ( is_cJSON_Array(valuearray) != 0 )

2
basilisk/basilisk_swap.c

@ -1271,7 +1271,7 @@ struct basilisk_swap *basilisk_request_started(struct supernet_info *myinfo,uint
for (i=0; i<myinfo->numswaps; i++) for (i=0; i<myinfo->numswaps; i++)
if ( myinfo->swaps[i]->req.requestid == requestid ) if ( myinfo->swaps[i]->req.requestid == requestid )
{ {
printf("REQUEST STARTED.[%d] <- req.%u\n",i,requestid); //printf("REQUEST STARTED.[%d] <- req.%u\n",i,requestid);
active = myinfo->swaps[i]; active = myinfo->swaps[i];
break; break;
} }

Loading…
Cancel
Save