Code cleanup and naming consistency improvement. (#73)

This commit is contained in:
Ravin Perera
2019-12-19 19:22:17 +05:30
committed by GitHub
parent b475e2796e
commit 7255dae84c
23 changed files with 594 additions and 463 deletions

View File

@@ -192,7 +192,7 @@ int main(int argc, char **argv)
LOG_INFO << "Operating mode: "
<< (conf::cfg.mode == conf::OPERATING_MODE::OBSERVING ? "Observing" : "Proposing");
statefs::init(conf::ctx.statehistdir);
statefs::init(conf::ctx.state_hist_dir);
if (p2p::init() != 0 || usr::init() != 0 || cons::init() != 0)
return -1;