Add the ledger time to the JSON account transaction event.

This commit is contained in:
Stefan Thomas
2012-11-29 22:01:24 -08:00
parent fe24387f91
commit e8abe71ea8

View File

@@ -1079,6 +1079,7 @@ Json::Value NetworkOPs::transJson(const SerializedTransaction& stTxn, TER terRes
if (bAccepted) {
jvObj["ledger_index"] = lpCurrent->getLedgerSeq();
jvObj["ledger_hash"] = lpCurrent->getHash().ToString();
jvObj["transaction"]["date"] = lpCurrent->getCloseTimeNC();
}
else
{