Browse Source

Test

etomic
jl777 7 years ago
parent
commit
4fa5f46ae2
  1. 4
      iguana/exchanges/LP_scan.c

4
iguana/exchanges/LP_scan.c

@ -286,6 +286,10 @@ cJSON *LP_snapshot(struct iguana_info *coin,int32_t height)
maxsnapht = endht;
}
portable_mutex_lock(&coin->txmutex);
HASH_ITER(hh,coin->addresses,ap,atmp)
{
ap->balance = 0;
}
HASH_ITER(hh,coin->transactions,tx,tmp)
{
if ( tx->height < height )

Loading…
Cancel
Save