mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
Ack! A delayed consensus causes the close time threshold to ratchet the wrong way.
This commit is contained in:
@@ -766,10 +766,8 @@ void LedgerConsensus::updateOurPositions()
|
||||
neededWeight = AV_INIT_CONSENSUS_PCT;
|
||||
else if (mClosePercent < AV_LATE_CONSENSUS_TIME)
|
||||
neededWeight = AV_MID_CONSENSUS_PCT;
|
||||
else if (mClosePercent < AV_STUCK_CONSENSUS_TIME)
|
||||
neededWeight = AV_LATE_CONSENSUS_PCT;
|
||||
else
|
||||
neededWeight = AV_STUCK_CONSENSUS_TIME;
|
||||
neededWeight = AV_LATE_CONSENSUS_PCT;
|
||||
|
||||
uint32 closeTime = 0;
|
||||
mHaveCloseTimeConsensus = false;
|
||||
|
||||
Reference in New Issue
Block a user