Browse Source

Test

etomic
jl777 7 years ago
parent
commit
40f6160998
  1. 4
      iguana/exchanges/LP_stats.c

4
iguana/exchanges/LP_stats.c

@ -302,9 +302,10 @@ int32_t LP_swap_finished(struct LP_swapstats *sp,int32_t dPoWflag)
{ {
if ( sp->expired != 0 ) if ( sp->expired != 0 )
return(1); return(1);
}
if ( dPoWflag != 0 ) if ( dPoWflag != 0 )
{ {
if ( sp->finished != 0 && sp->dPoWfinished != 0 ) if ( sp->dPoWfinished != 0 )
return(1); return(1);
else if ( sp->finished != 0 ) else if ( sp->finished != 0 )
{ {
@ -320,7 +321,6 @@ int32_t LP_swap_finished(struct LP_swapstats *sp,int32_t dPoWflag)
return(1); return(1);
} }
} }
}
return(0); return(0);
} }

Loading…
Cancel
Save