diff --git a/iguana/exchanges/stats.c b/iguana/exchanges/stats.c index 2d8bc1500..a16c9b4d6 100644 --- a/iguana/exchanges/stats.c +++ b/iguana/exchanges/stats.c @@ -1025,7 +1025,7 @@ int main(int argc, const char * argv[]) printf("DEX stats running\n"); while ( 1 ) { - if ( (filestr= stats_update(logfp,STATS_DEST,statefname,komodofname)) != 0 ) + if ( (filestr= stats_update(logfp,STATS_DEST,statefname,komodofile)) != 0 ) { timestamp = (uint32_t)time(NULL); leftdatenum = OS_conv_unixtime(&T,&seconds,timestamp - 1024*3600);