@ -716,11 +716,11 @@ void LP_bobloop(void *_swap)
basilisk_bobdeposit_refund ( swap , swap - > I . putduration ) ;
//printf("depositlen.%d\n",swap->bobdeposit.I.datalen);
LP_swapsfp_update ( & swap - > I . req ) ;
if ( LP_waitfor ( swap - > N . pair , swap , LP_SWAPSTEP_TIMEOUT * 3 , LP_verify_otherfee ) < 0 )
if ( LP_waitfor ( swap - > N . pair , swap , LP_SWAPSTEP_TIMEOUT * 10 , LP_verify_otherfee ) < 0 )
printf ( " error waiting for alicefee \n " ) ;
else if ( LP_swapdata_rawtxsend ( swap - > N . pair , swap , 0x200 , data , maxlen , & swap - > bobdeposit , 0x100 , 0 ) = = 0 )
printf ( " error sending bobdeposit \n " ) ;
else if ( LP_waitfor ( swap - > N . pair , swap , LP_SWAPSTEP_TIMEOUT * 3 , LP_verify_alicepayment ) < 0 )
else if ( LP_waitfor ( swap - > N . pair , swap , LP_SWAPSTEP_TIMEOUT * 10 , LP_verify_alicepayment ) < 0 )
printf ( " error waiting for alicepayment \n " ) ;
else
{
@ -775,7 +775,7 @@ void LP_aliceloop(void *_swap)
LP_swapsfp_update ( & swap - > I . req ) ;
if ( LP_swapdata_rawtxsend ( swap - > N . pair , swap , 0x80 , data , maxlen , & swap - > myfee , 0x40 , 0 ) = = 0 )
printf ( " error sending alicefee \n " ) ;
else if ( LP_waitfor ( swap - > N . pair , swap , LP_SWAPSTEP_TIMEOUT * 3 , LP_verify_bobdeposit ) < 0 )
else if ( LP_waitfor ( swap - > N . pair , swap , LP_SWAPSTEP_TIMEOUT * 10 , LP_verify_bobdeposit ) < 0 )
printf ( " error waiting for bobdeposit \n " ) ;
else if ( LP_swapdata_rawtxsend ( swap - > N . pair , swap , 0x1000 , data , maxlen , & swap - > alicepayment , 0x800 , 0 ) = = 0 )
printf ( " error sending alicepayment \n " ) ;
@ -787,10 +787,10 @@ void LP_aliceloop(void *_swap)
while ( ( n = LP_numconfirms ( swap - > alicecoin . symbol , swap - > alicepayment . I . destaddr , swap - > alicepayment . I . signedtxid , 1 ) ) < m )
{
char str [ 65 ] ; printf ( " %d waiting for alicepayment to be confirmed.%d %s %s \n " , n , 1 , swap - > alicecoin . symbol , bits256_str ( str , swap - > alicepayment . I . signedtxid ) ) ;
sleep ( LP_SWAPSTEP_TIMEOUT ) ;
sleep ( 10 ) ;
}
swap - > sentflag = 1 ;
if ( LP_waitfor ( swap - > N . pair , swap , LP_SWAPSTEP_TIMEOUT * 3 , LP_verify_bobpayment ) < 0 )
if ( LP_waitfor ( swap - > N . pair , swap , LP_SWAPSTEP_TIMEOUT * 10 , LP_verify_bobpayment ) < 0 )
printf ( " error waiting for bobpayment \n " ) ;
else
{