jl777 8 years ago
parent
commit
1e85b943d5
  1. 4
      basilisk/basilisk_swap.c

4
basilisk/basilisk_swap.c

@ -1297,8 +1297,11 @@ void basilisk_swaploop(void *_swap)
printf("GENERATED BOB DEPOSIT\n"); printf("GENERATED BOB DEPOSIT\n");
break; break;
} }
}
for (i=0; i<3; i++) for (i=0; i<3; i++)
{ {
if ( retval < 0 )
break;
basilisk_rawtx_gen("payment",myinfo,1,1,&swap->bobpayment,swap->bobpayment.locktime,swap->bobpayment.spendscript,swap->bobpayment.spendlen,swap->bobpayment.coin->chain->txfee,1); basilisk_rawtx_gen("payment",myinfo,1,1,&swap->bobpayment,swap->bobpayment.locktime,swap->bobpayment.spendscript,swap->bobpayment.spendlen,swap->bobpayment.coin->chain->txfee,1);
if ( swap->bobpayment.txbytes == 0 || swap->bobpayment.spendlen == 0 ) if ( swap->bobpayment.txbytes == 0 || swap->bobpayment.spendlen == 0 )
{ {
@ -1313,7 +1316,6 @@ void basilisk_swaploop(void *_swap)
break; break;
} }
} }
}
/*if ( basilisk_bobpayment_reclaim(myinfo,swap) < 0 || basilisk_bobdeposit_refund(myinfo,swap) < 0 ) /*if ( basilisk_bobpayment_reclaim(myinfo,swap) < 0 || basilisk_bobdeposit_refund(myinfo,swap) < 0 )
{ {
printf("error bob reclaiming\n"); printf("error bob reclaiming\n");

Loading…
Cancel
Save