mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Update operating mode upon network disagreement.
This commit is contained in:
committed by
Nik Bougalis
parent
a9a4e2c8fb
commit
e5b61c9ac9
@@ -2046,7 +2046,7 @@ bool ApplicationImp::serverOkay (std::string& reason)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (getOPs ().getOperatingMode () < NetworkOPs::omSYNCING)
|
||||
if (getOPs ().getOperatingMode () < OperatingMode::SYNCING)
|
||||
{
|
||||
reason = "Not synchronized with network";
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user