fix for non-deterministic time bug found on testnet

This commit is contained in:
Richard Holland
2023-03-09 09:21:20 +00:00
parent 39f81d0af5
commit bf41273d2f
2 changed files with 7 additions and 24 deletions

View File

@@ -5838,7 +5838,7 @@ public:
std::chrono::duration_cast<std::chrono::seconds>
(
env.app().getLedgerMaster()
.getValidatedLedger()->info()
.getCurrentLedger()->info()
.parentCloseTime
.time_since_epoch()
).count();