worker.go: use the correct data timestamp for getFiatRatesTickersList
This commit is contained in:
parent
a8f436fe4c
commit
729c35334a
@ -1273,7 +1273,7 @@ func (w *Worker) GetFiatRatesTickersList(timestamp int64) (*db.ResultTickerListA
|
|||||||
sort.Strings(keys) // sort to get deterministic results
|
sort.Strings(keys) // sort to get deterministic results
|
||||||
|
|
||||||
return &db.ResultTickerListAsString{
|
return &db.ResultTickerListAsString{
|
||||||
Timestamp: timestamp,
|
Timestamp: ticker.Timestamp.Unix(),
|
||||||
Tickers: keys,
|
Tickers: keys,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user