Browse Source

Test

etomic
jl777 8 years ago
parent
commit
f9c249b9d9
  1. 2
      .gitignore
  2. 4
      basilisk/basilisk_swap.c

2
.gitignore

@ -288,3 +288,5 @@ iguana/DB/SWAPS/3221116355-3522779294
iguana/DB/SWAPS/1703578312-1139459191 iguana/DB/SWAPS/1703578312-1139459191
iguana/DB/SWAPS/1192374491-1050242469 iguana/DB/SWAPS/1192374491-1050242469
iguana/DB/SWAPS/4244307493-1619487751

4
basilisk/basilisk_swap.c

@ -773,7 +773,7 @@ void basilisk_dontforget_update(struct supernet_info *myinfo,struct basilisk_swa
memset(triggertxid.bytes,0,sizeof(triggertxid)); memset(triggertxid.bytes,0,sizeof(triggertxid));
if ( rawtx == &swap->myfee ) if ( rawtx == &swap->myfee )
basilisk_dontforget(myinfo,swap,&swap->myfee,0,triggertxid); basilisk_dontforget(myinfo,swap,&swap->myfee,0,triggertxid);
if ( swap->I.iambob != 0 ) //if ( swap->I.iambob != 0 )
{ {
if ( rawtx == &swap->bobdeposit ) if ( rawtx == &swap->bobdeposit )
{ {
@ -795,7 +795,7 @@ void basilisk_dontforget_update(struct supernet_info *myinfo,struct basilisk_swa
else if ( rawtx == &swap->bobrefund ) else if ( rawtx == &swap->bobrefund )
basilisk_dontforget(myinfo,swap,&swap->bobrefund,swap->bobdeposit.I.locktime,triggertxid); basilisk_dontforget(myinfo,swap,&swap->bobrefund,swap->bobdeposit.I.locktime,triggertxid);
} }
else //else
{ {
if ( rawtx == &swap->alicepayment ) if ( rawtx == &swap->alicepayment )
{ {

Loading…
Cancel
Save