Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
9f3dbd8856
  1. 2
      basilisk/basilisk_swap.c

2
basilisk/basilisk_swap.c

@ -1346,7 +1346,7 @@ void basilisk_swaploop(void *_swap)
basilisk_swapget(myinfo,swap,0x80000000,data,maxlen,basilisk_verify_otherstatebits); basilisk_swapget(myinfo,swap,0x80000000,data,maxlen,basilisk_verify_otherstatebits);
} }
printf("end of atomic swap\n"); printf("end of atomic swap\n");
if ( swap->iambob != 0 ) if ( swap->iambob != 0 && bits256_nonz(swap->bobdeposit.txid) != 0 )
{ {
printf("BOB reclaims refund\n"); printf("BOB reclaims refund\n");
basilisk_bobdeposit_refund(myinfo,swap); basilisk_bobdeposit_refund(myinfo,swap);

Loading…
Cancel
Save