mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix inbound ledger add peers logic
This commit is contained in:
committed by
Nik Bougalis
parent
6c8673c7c3
commit
f9fe2ef90f
@@ -399,7 +399,7 @@ void InboundLedger::onTimer (bool wasProgress, ScopedLockType&)
|
||||
void InboundLedger::addPeers ()
|
||||
{
|
||||
app_.overlay().selectPeers (*this,
|
||||
(getPeerCount() > 0) ? peerCountStart : peerCountAdd,
|
||||
(getPeerCount() == 0) ? peerCountStart : peerCountAdd,
|
||||
ScoreHasLedger (getHash(), mSeq));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user