diff --git a/src/utils/TxFiatHistory.cpp b/src/utils/TxFiatHistory.cpp index 725cbc1..6736de0 100644 --- a/src/utils/TxFiatHistory.cpp +++ b/src/utils/TxFiatHistory.cpp @@ -14,7 +14,7 @@ TxFiatHistory::TxFiatHistory(int genesis_timestamp, const QString &configDirecto double TxFiatHistory::get(int timestamp) { QDateTime ts; - ts.setTime_t(timestamp); + ts.setSecsSinceEpoch(timestamp); auto key = ts.toString("yyyyMMdd"); return this->get(key); // USD }