From 4f386e02697efe955a951d433936a672067e32c5 Mon Sep 17 00:00:00 2001 From: dEBRUYNE-1 Date: Sat, 5 Nov 2016 16:32:30 +0100 Subject: [PATCH] Fix erroneous DateTime & small README change --- README.md | 2 +- src/libwalletqt/TransactionHistory.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 510156fc..ffdaf81c 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ TODO 7. Before running the GUI, it's recommended that you have the Monero daemon running in the background. - `./monerod --rpc-bind-port 38081` + `./monerod` 8. Run the GUI client. diff --git a/src/libwalletqt/TransactionHistory.cpp b/src/libwalletqt/TransactionHistory.cpp index defe561c..bf9cbeb5 100644 --- a/src/libwalletqt/TransactionHistory.cpp +++ b/src/libwalletqt/TransactionHistory.cpp @@ -29,8 +29,8 @@ QList TransactionHistory::getAll() const qDeleteAll(m_tinfo); m_tinfo.clear(); - QDateTime firstDateTime = QDateTime::currentDateTime().addDays(1); // tomorrow (guard against jitter and timezones) - QDateTime lastDateTime = QDateTime(QDate(2014, 4, 18)); // the genesis block + QDateTime firstDateTime = QDateTime(QDate(2014, 4, 18)); // the genesis block + QDateTime lastDateTime = QDateTime::currentDateTime().addDays(1); // tomorrow (guard against jitter and timezones) TransactionHistory * parent = const_cast(this); for (const auto i : m_pimpl->getAll()) {