From f9c249b9d9daa54f2fbd7c153d49395fec3e7654 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 9 Apr 2017 14:28:16 +0300 Subject: [PATCH] Test --- .gitignore | 2 ++ basilisk/basilisk_swap.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b321cb4e5..59f2efbbd 100755 --- a/.gitignore +++ b/.gitignore @@ -288,3 +288,5 @@ iguana/DB/SWAPS/3221116355-3522779294 iguana/DB/SWAPS/1703578312-1139459191 iguana/DB/SWAPS/1192374491-1050242469 + +iguana/DB/SWAPS/4244307493-1619487751 diff --git a/basilisk/basilisk_swap.c b/basilisk/basilisk_swap.c index 76072d688..0736a486f 100755 --- a/basilisk/basilisk_swap.c +++ b/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)); if ( rawtx == &swap->myfee ) basilisk_dontforget(myinfo,swap,&swap->myfee,0,triggertxid); - if ( swap->I.iambob != 0 ) + //if ( swap->I.iambob != 0 ) { if ( rawtx == &swap->bobdeposit ) { @@ -795,7 +795,7 @@ void basilisk_dontforget_update(struct supernet_info *myinfo,struct basilisk_swa else if ( rawtx == &swap->bobrefund ) basilisk_dontforget(myinfo,swap,&swap->bobrefund,swap->bobdeposit.I.locktime,triggertxid); } - else + //else { if ( rawtx == &swap->alicepayment ) {