mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-28 23:15:52 +00:00
Avoid an extraneous test.
This commit is contained in:
@@ -1652,8 +1652,7 @@ void NetworkOPsImp::setMode (OperatingMode om)
|
||||
if (getApp().getLedgerMaster ().getValidatedLedgerAge () < 60)
|
||||
om = omSYNCING;
|
||||
}
|
||||
|
||||
if (om == omSYNCING)
|
||||
else if (om == omSYNCING)
|
||||
{
|
||||
if (getApp().getLedgerMaster ().getValidatedLedgerAge () >= 60)
|
||||
om = omCONNECTED;
|
||||
|
||||
Reference in New Issue
Block a user