From bd93d0ed57f160eb55cc77b322a480007207b95b Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 2 Jul 2016 20:07:52 -0300 Subject: [PATCH] test --- basilisk/basilisk_swap.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/basilisk/basilisk_swap.c b/basilisk/basilisk_swap.c index 25c8f24d6..48cedc773 100755 --- a/basilisk/basilisk_swap.c +++ b/basilisk/basilisk_swap.c @@ -525,12 +525,6 @@ void basilisk_swaploop(void *_swap) uint8_t *data; int32_t i,j,maxlen,datalen,numconfirms; struct supernet_info *myinfo; struct basilisk_swap *swap = _swap; myinfo = swap->myinfo; printf("start swap\n"); - if ( bitcoin_swapinit(myinfo,swap) == 0 ) - { - printf("bitcoin_swapinit error\n"); - return; - } - printf("back from swapinit\n"); maxlen = sizeof(*swap); data = malloc(maxlen); while ( time(NULL) < swap->expiration ) @@ -722,7 +716,7 @@ struct basilisk_swap *basilisk_thread_start(struct supernet_info *myinfo,struct if ( bitcoin_swapinit(myinfo,swap) != 0 ) { 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);