mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Keep hp cfg and patch cfg consistent. (#216)
* Copy from hp cfg to patch cfg upon startup. * Persist to hp cfg whenever patch cfg is updated.
This commit is contained in:
@@ -200,7 +200,6 @@ int main(int argc, char **argv)
|
||||
LOG_INFO << "Contract: " << conf::cfg.contract.id << " (" << conf::cfg.contract.version << ")";
|
||||
|
||||
if (hpfs::init() == -1 ||
|
||||
conf::apply_patch_changes() == -1 ||
|
||||
hpfs_serve::init() == -1 ||
|
||||
hpfs_sync::init() == -1 ||
|
||||
ledger::init() == -1 ||
|
||||
|
||||
Reference in New Issue
Block a user