From 729c35334af09a5e41f2edefb5c21185bd5856a9 Mon Sep 17 00:00:00 2001 From: Vladyslav Burzakovskyy Date: Tue, 21 Jan 2020 14:47:09 +0100 Subject: [PATCH] worker.go: use the correct data timestamp for getFiatRatesTickersList --- api/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/worker.go b/api/worker.go index 53c5b619..e97b5291 100644 --- a/api/worker.go +++ b/api/worker.go @@ -1273,7 +1273,7 @@ func (w *Worker) GetFiatRatesTickersList(timestamp int64) (*db.ResultTickerListA sort.Strings(keys) // sort to get deterministic results return &db.ResultTickerListAsString{ - Timestamp: timestamp, + Timestamp: ticker.Timestamp.Unix(), Tickers: keys, }, nil }