mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +00:00
Easier way to get the validated ledger index
This commit is contained in:
@@ -859,7 +859,7 @@ bool NetworkOPsImp::haveLedger (std::uint32_t seq)
|
|||||||
|
|
||||||
std::uint32_t NetworkOPsImp::getValidatedSeq ()
|
std::uint32_t NetworkOPsImp::getValidatedSeq ()
|
||||||
{
|
{
|
||||||
return m_ledgerMaster.getValidatedLedger ()->getLedgerSeq ();
|
return m_ledgerMaster.getValidLedgerIndex ();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool NetworkOPsImp::isValidated (std::uint32_t seq, uint256 const& hash)
|
bool NetworkOPsImp::isValidated (std::uint32_t seq, uint256 const& hash)
|
||||||
|
|||||||
Reference in New Issue
Block a user