mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Persisted contract UNL updates in config file. (#171)
* Refactored config loading and saving. * Aded unl update persistance.
This commit is contained in:
@@ -623,7 +623,7 @@ namespace consensus
|
||||
p2pmsg::create_msg_from_proposal(fbuf, p);
|
||||
|
||||
// In observer mode, we only send out the proposal to ourselves.
|
||||
if (conf::cfg.current_mode == conf::OPERATING_MODE::OBSERVER)
|
||||
if (conf::cfg.operating_mode == conf::OPERATING_MODE::OBSERVER)
|
||||
p2p::send_message_to_self(fbuf);
|
||||
else
|
||||
p2p::broadcast_message(fbuf, true);
|
||||
|
||||
Reference in New Issue
Block a user