Support lower version of Qt

This commit is contained in:
NAYRAND JEREMIE
2018-10-28 19:03:12 +01:00
parent 32fde229c4
commit 833eb47f4a
2 changed files with 3 additions and 3 deletions

View File

@@ -87,7 +87,7 @@ void SentTxStore::addToSentTx(Tx tx, QString txid) {
QJsonObject txItem;
txItem["type"] = "sent";
txItem["from"] = tx.fromAddr;
txItem["datetime"] = QDateTime().currentSecsSinceEpoch();
txItem["datetime"] = QDateTime().currentMSecsSinceEpoch();
txItem["address"] = QString(); // The sent address is blank, to be consistent with t-Addr sent behaviour
txItem["txid"] = txid;
txItem["amount"] = -totalAmount;