mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Change the use of integrals to chrono types as appropriate
This commit is contained in:
committed by
Nik Bougalis
parent
bacf2605a4
commit
e86ff5daa1
@@ -159,7 +159,7 @@ Json::Value Transaction::getJson (int options, bool binary) const
|
||||
auto ct = mApp.getLedgerMaster().
|
||||
getCloseTimeBySeq (mInLedger);
|
||||
if (ct)
|
||||
ret[jss::date] = *ct;
|
||||
ret[jss::date] = ct->time_since_epoch().count();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user