Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
657ff030bd
  1. 4
      basilisk/basilisk_swap.c

4
basilisk/basilisk_swap.c

@ -719,10 +719,10 @@ struct basilisk_swap *basilisk_thread_start(struct supernet_info *myinfo,struct
swap->myinfo = myinfo; swap->myinfo = myinfo;
swap->statebits = statebits; swap->statebits = statebits;
printf("START swap requestid.%u\n",rp->requestid); printf("START swap requestid.%u\n",rp->requestid);
//if ( bitcoin_swapinit(myinfo,swap) != 0 ) if ( bitcoin_swapinit(myinfo,swap) != 0 )
{ {
myinfo->swaps[myinfo->numswaps++] = swap; myinfo->swaps[myinfo->numswaps++] = swap;
iguana_launch(iguana_coinfind("BTCD"),"basilisk_swaploop",basilisk_swaploop,swap,IGUANA_PERMTHREAD); //iguana_launch(iguana_coinfind("BTCD"),"basilisk_swaploop",basilisk_swaploop,swap,IGUANA_PERMTHREAD);
} }
} }
portable_mutex_unlock(&myinfo->DEX_swapmutex); portable_mutex_unlock(&myinfo->DEX_swapmutex);

Loading…
Cancel
Save