mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix the "peer action" transition from syncing to full
This commit is contained in:
@@ -1446,7 +1446,8 @@ bool NetworkOPsImp::haveConsensusObject ()
|
||||
if (!ledgerChange)
|
||||
{
|
||||
m_journal.info << "Beginning consensus due to peer action";
|
||||
if ( ((mMode == omCONNECTED) || (mMode == omTRACKING)) && (getPreviousProposers() >= m_ledgerMaster.getMinValidations()) )
|
||||
if ( ((mMode == omTRACKING) || (mMode == omSYNCING)) &&
|
||||
(getPreviousProposers() >= m_ledgerMaster.getMinValidations()) )
|
||||
setMode (omFULL);
|
||||
beginConsensus (networkClosed, m_ledgerMaster.getCurrentLedger ());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user