msec fixes

This commit is contained in:
Aditya Kulkarni
2018-10-28 11:16:57 -07:00
parent 507edfa8de
commit 56e45bc64c
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().currentMSecsSinceEpoch();
txItem["datetime"] = QDateTime().currentMSecsSinceEpoch() / 1000;
txItem["address"] = QString(); // The sent address is blank, to be consistent with t-Addr sent behaviour
txItem["txid"] = txid;
txItem["amount"] = -totalAmount;