mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Improve LedgerMaster shard acquisition
This commit is contained in:
committed by
manojsdoshi
parent
8f50fd051e
commit
91e857874f
@@ -444,7 +444,8 @@ isValidated(
|
||||
// Use the skip list in the last validated ledger to see if ledger
|
||||
// comes before the last validated ledger (and thus has been
|
||||
// validated).
|
||||
auto hash = ledgerMaster.walkHashBySeq(seq);
|
||||
auto hash =
|
||||
ledgerMaster.walkHashBySeq(seq, InboundLedger::Reason::GENERIC);
|
||||
|
||||
if (!hash || ledger.info().hash != *hash)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user