Fix erroneous DateTime & small README change

This commit is contained in:
dEBRUYNE-1 2016-11-05 16:32:30 +01:00
parent c9bb2f5718
commit 4f386e0269
No known key found for this signature in database
GPG Key ID: B9145F6EBFA81C32
2 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,7 @@ TODO
7. Before running the GUI, it's recommended that you have the Monero daemon running in the background. 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. 8. Run the GUI client.

View File

@ -29,8 +29,8 @@ QList<TransactionInfo *> TransactionHistory::getAll() const
qDeleteAll(m_tinfo); qDeleteAll(m_tinfo);
m_tinfo.clear(); m_tinfo.clear();
QDateTime firstDateTime = QDateTime::currentDateTime().addDays(1); // tomorrow (guard against jitter and timezones) QDateTime firstDateTime = QDateTime(QDate(2014, 4, 18)); // the genesis block
QDateTime lastDateTime = QDateTime(QDate(2014, 4, 18)); // the genesis block QDateTime lastDateTime = QDateTime::currentDateTime().addDays(1); // tomorrow (guard against jitter and timezones)
TransactionHistory * parent = const_cast<TransactionHistory*>(this); TransactionHistory * parent = const_cast<TransactionHistory*>(this);
for (const auto i : m_pimpl->getAll()) { for (const auto i : m_pimpl->getAll()) {