Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
7c8f462b5b
  1. 2
      basilisk/basilisk.c
  2. 2
      basilisk/basilisk_bitcoin.c

2
basilisk/basilisk.c

@ -359,7 +359,7 @@ struct basilisk_item *basilisk_issueremote(struct supernet_info *myinfo,struct i
if ( pending->numresults >= pending->numrequired )//|| (retstr= pending->retstr) != 0 ) if ( pending->numresults >= pending->numrequired )//|| (retstr= pending->retstr) != 0 )
{ {
portable_mutex_unlock(&myinfo->basilisk_mutex); portable_mutex_unlock(&myinfo->basilisk_mutex);
printf("<<<<<<<<<<<<< numresults.%d vs numrequired.%d\n",pending->numresults,pending->numrequired); //printf("<<<<<<<<<<<<< numresults.%d vs numrequired.%d\n",pending->numresults,pending->numrequired);
break; break;
} }
portable_mutex_unlock(&myinfo->basilisk_mutex); portable_mutex_unlock(&myinfo->basilisk_mutex);

2
basilisk/basilisk_bitcoin.c

@ -342,7 +342,7 @@ void *basilisk_bitcoinbalances(struct basilisk_item *Lptr,struct supernet_info *
jaddnum(retjson,"RTheight",coin->RTheight); jaddnum(retjson,"RTheight",coin->RTheight);
jaddnum(retjson,"longest",coin->longestchain); jaddnum(retjson,"longest",coin->longestchain);
jaddnum(retjson,"lag",coin->longestchain- coin->RTheight); jaddnum(retjson,"lag",coin->longestchain- coin->RTheight);
printf("BAL.(%s)\n",jprint(retjson,0)); //printf("BAL.(%s)\n",jprint(retjson,0));
Lptr->retstr = jprint(retjson,1); Lptr->retstr = jprint(retjson,1);
return(Lptr); return(Lptr);
} }

Loading…
Cancel
Save