|
@ -945,7 +945,8 @@ void LP_bobloop(void *_swap) |
|
|
LP_swap_endcritical = (uint32_t)time(NULL); |
|
|
LP_swap_endcritical = (uint32_t)time(NULL); |
|
|
if ( err < 0 ) |
|
|
if ( err < 0 ) |
|
|
LP_failedmsg(swap->I.req.requestid,swap->I.req.quoteid,err,swap->uuidstr); |
|
|
LP_failedmsg(swap->I.req.requestid,swap->I.req.quoteid,err,swap->uuidstr); |
|
|
sleep(13); |
|
|
if ( swap->I.aliceconfirms > 0 ) |
|
|
|
|
|
sleep(13); |
|
|
LP_pendswap_add(swap->I.expiration,swap->I.req.requestid,swap->I.req.quoteid); |
|
|
LP_pendswap_add(swap->I.expiration,swap->I.req.requestid,swap->I.req.quoteid); |
|
|
//swap->I.finished = LP_swapwait(swap->I.expiration,swap->I.req.requestid,swap->I.req.quoteid,LP_atomic_locktime(swap->I.bobstr,swap->I.alicestr)*3,swap->I.aliceconfirms == 0 ? 3 : 30);
|
|
|
//swap->I.finished = LP_swapwait(swap->I.expiration,swap->I.req.requestid,swap->I.req.quoteid,LP_atomic_locktime(swap->I.bobstr,swap->I.alicestr)*3,swap->I.aliceconfirms == 0 ? 3 : 30);
|
|
|
basilisk_swap_finished(swap); |
|
|
basilisk_swap_finished(swap); |
|
@ -1041,7 +1042,8 @@ void LP_aliceloop(void *_swap) |
|
|
LP_swap_endcritical = (uint32_t)time(NULL); |
|
|
LP_swap_endcritical = (uint32_t)time(NULL); |
|
|
if ( err < 0 ) |
|
|
if ( err < 0 ) |
|
|
LP_failedmsg(swap->I.req.requestid,swap->I.req.quoteid,err,swap->uuidstr); |
|
|
LP_failedmsg(swap->I.req.requestid,swap->I.req.quoteid,err,swap->uuidstr); |
|
|
sleep(13); |
|
|
if ( swap->I.bobconfirms > 0 ) |
|
|
|
|
|
sleep(13); |
|
|
LP_pendswap_add(swap->I.expiration,swap->I.req.requestid,swap->I.req.quoteid); |
|
|
LP_pendswap_add(swap->I.expiration,swap->I.req.requestid,swap->I.req.quoteid); |
|
|
//swap->I.finished = LP_swapwait(swap->I.expiration,swap->I.req.requestid,swap->I.req.quoteid,LP_atomic_locktime(swap->I.bobstr,swap->I.alicestr)*3,swap->I.aliceconfirms == 0 ? 3 : 30);
|
|
|
//swap->I.finished = LP_swapwait(swap->I.expiration,swap->I.req.requestid,swap->I.req.quoteid,LP_atomic_locktime(swap->I.bobstr,swap->I.alicestr)*3,swap->I.aliceconfirms == 0 ? 3 : 30);
|
|
|
basilisk_swap_finished(swap); |
|
|
basilisk_swap_finished(swap); |
|
|