mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 06:25:51 +00:00
More robust call to get the valid ledger index
This commit is contained in:
@@ -921,7 +921,7 @@ bool NetworkOPsImp::isValidated (std::uint32_t seq)
|
||||
{
|
||||
// use when ledger was retrieved by seq
|
||||
return haveLedger (seq) &&
|
||||
seq <= m_ledgerMaster.getValidatedLedger ()->getLedgerSeq ();
|
||||
seq <= m_ledgerMaster.getValidLedgerIndex ();
|
||||
}
|
||||
|
||||
void NetworkOPsImp::submitTransaction (Job&, STTx::pointer iTrans)
|
||||
|
||||
Reference in New Issue
Block a user