mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Propogate a view change during consensus to the NetworkOPs code.
This commit is contained in:
@@ -251,6 +251,8 @@ void LedgerConsensus::checkLCL()
|
||||
if (netLgr != mPrevLedgerHash)
|
||||
{ // LCL change
|
||||
Log(lsWARNING) << "View of consensus changed during consensus (" << netLgrCount << ")";
|
||||
if (mHaveCorrectLCL)
|
||||
theApp->getOPs().consensusViewChange();
|
||||
handleLCL(netLgr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user