mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
Share the 'shouldAcquire' function. recvGetLedger will needed it.
This commit is contained in:
@@ -233,7 +233,7 @@ void LedgerMaster::missingAcquireComplete(LedgerAcquire::pointer acq)
|
||||
}
|
||||
}
|
||||
|
||||
static bool shouldAcquire(uint32 currentLedger, uint32 ledgerHistory, uint32 candidateLedger)
|
||||
bool LedgerMaster::shouldAcquire(uint32 currentLedger, uint32 ledgerHistory, uint32 candidateLedger)
|
||||
{
|
||||
bool ret;
|
||||
if (candidateLedger >= currentLedger)
|
||||
|
||||
Reference in New Issue
Block a user