From b7d7f8f32c74082868d5f8497b01d33e639199d1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 8 May 2017 09:59:42 +0300 Subject: [PATCH] Test --- iguana/exchanges/DEXstats.h | 1 + 1 file changed, 1 insertion(+) diff --git a/iguana/exchanges/DEXstats.h b/iguana/exchanges/DEXstats.h index 340c13107..26e27b56f 100644 --- a/iguana/exchanges/DEXstats.h +++ b/iguana/exchanges/DEXstats.h @@ -111,6 +111,7 @@ void stats_datenumupdate(struct DEXstats_priceinfo *pp,int32_t datenum,int32_t h memset(date,0,sizeof(*date)); date->datenum = pp->firstdatenum + pp->numdates + i; } + pp->numdates = offset; } stats_pairupdate(&pp->dates[offset],dest,datenum,hour,seconds,height,volume,price); }