Browse Source

Initial condition fix

pass-iguana-arg
jl777 7 years ago
parent
commit
2800b74418
  1. 4
      iguana/exchanges/LP_socket.c

4
iguana/exchanges/LP_socket.c

@ -613,7 +613,11 @@ cJSON *electrum_address_listunspent(char *symbol,struct electrum_info *ep,cJSON
if ( (ap= LP_address(coin,addr)) != 0 )
{
if ( ap->unspenttime == 0 )
{
ap->unspenttime = (uint32_t)time(NULL);
ap->unspentheight = height;
usecache = 1;
}
else if ( ap->unspentheight < height )
usecache = 0;
else if ( G.LP_pendingswaps != 0 && time(NULL) > ap->unspenttime+13 )

Loading…
Cancel
Save