mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Observer mode fix (#78)
* Fixed observer mode consensus issues. * Added startup_mode to fix mode change check.
This commit is contained in:
@@ -181,7 +181,7 @@ int main(int argc, char **argv)
|
||||
hplog::init();
|
||||
|
||||
LOG_INFO << "Operating mode: "
|
||||
<< (conf::cfg.mode == conf::OPERATING_MODE::OBSERVING ? "Observing" : "Proposing");
|
||||
<< (conf::cfg.startup_mode == conf::OPERATING_MODE::OBSERVER ? "Observer" : "Proposer");
|
||||
|
||||
statefs::init(conf::ctx.state_hist_dir);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user