mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-29 18:10:34 +00:00
Fix
This commit is contained in:
@@ -1333,7 +1333,7 @@ ApplicationImp::setup(boost::program_options::variables_map const& cmdline)
|
||||
// if (!config_.standalone())
|
||||
overlay_ = make_Overlay(
|
||||
*this,
|
||||
setup_Overlay(*config_),
|
||||
setup_Overlay(*config_, m_journal),
|
||||
*serverHandler_,
|
||||
*m_resourceManager,
|
||||
*m_resolver,
|
||||
|
||||
@@ -1449,7 +1449,7 @@ OverlayImpl::deleteIdlePeers()
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
Overlay::Setup
|
||||
setup_Overlay(BasicConfig const& config)
|
||||
setup_Overlay(BasicConfig const& config, beast::Journal j)
|
||||
{
|
||||
Overlay::Setup setup;
|
||||
|
||||
@@ -1474,9 +1474,9 @@ setup_Overlay(BasicConfig const& config)
|
||||
set(setup.verifyEndpoints, true, "verify_endpoints", section);
|
||||
if (!setup.verifyEndpoints)
|
||||
{
|
||||
JLOG(j_.warn()) << "Endpoint verification is disabled. This is a "
|
||||
"security risk and should only be used for "
|
||||
"testing.";
|
||||
JLOG(j.warn()) << "Endpoint verification is disabled. This is a "
|
||||
"security risk and should only be used for "
|
||||
"testing.";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
namespace xrpl {
|
||||
|
||||
Overlay::Setup
|
||||
setup_Overlay(BasicConfig const& config);
|
||||
setup_Overlay(BasicConfig const& config, beast::Journal j);
|
||||
|
||||
/** Creates the implementation of Overlay. */
|
||||
std::unique_ptr<Overlay>
|
||||
|
||||
Reference in New Issue
Block a user