Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
838c7e48cf
  1. 2
      iguana/swaps/iguana_BTCswap.c

2
iguana/swaps/iguana_BTCswap.c

@ -1075,7 +1075,7 @@ char *instantdex_statemachine(struct instantdex_stateinfo *states,int32_t numsta
void instantdex_statemachine_iter(struct supernet_info *myinfo,struct exchange_info *exchange,struct bitcoin_swapinfo *swap) void instantdex_statemachine_iter(struct supernet_info *myinfo,struct exchange_info *exchange,struct bitcoin_swapinfo *swap)
{ {
char *str; struct bitcoin_eventitem *ptr; cJSON *newjson; struct iguana_info *coinbtc; int32_t flag = 0; char *str; struct bitcoin_eventitem *ptr; cJSON *newjson; struct iguana_info *coinbtc; int32_t flag = 0;
if ( swap->dead != 0 || swap->mine.dead == 0 || swap->other.dead == 0 ) if ( swap->dead != 0 || swap->mine.dead != 0 || swap->other.dead != 0 )
return; return;
coinbtc = iguana_coinfind("BTC"); coinbtc = iguana_coinfind("BTC");
if ( instantdex_isbob(swap) != 0 && swap->myfee == 0 ) if ( instantdex_isbob(swap) != 0 && swap->myfee == 0 )

Loading…
Cancel
Save