mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-07 10:47:05 +00:00
chore: Set ColumnLimit to 120 in clang-format (#6288)
This change updates the ColumnLimit from 80 to 120, and applies clang-format to reformat the code.
This commit is contained in:
@@ -94,8 +94,7 @@ std::unique_ptr<Config>
|
||||
validator(std::unique_ptr<Config> cfg, std::string const& seed)
|
||||
{
|
||||
// If the config has valid validation keys then we run as a validator.
|
||||
cfg->section(SECTION_VALIDATION_SEED)
|
||||
.append(std::vector<std::string>{seed.empty() ? defaultseed : seed});
|
||||
cfg->section(SECTION_VALIDATION_SEED).append(std::vector<std::string>{seed.empty() ? defaultseed : seed});
|
||||
return cfg;
|
||||
}
|
||||
|
||||
@@ -108,9 +107,7 @@ addGrpcConfig(std::unique_ptr<Config> cfg)
|
||||
}
|
||||
|
||||
std::unique_ptr<Config>
|
||||
addGrpcConfigWithSecureGateway(
|
||||
std::unique_ptr<Config> cfg,
|
||||
std::string const& secureGateway)
|
||||
addGrpcConfigWithSecureGateway(std::unique_ptr<Config> cfg, std::string const& secureGateway)
|
||||
{
|
||||
(*cfg)[SECTION_PORT_GRPC].set("ip", getEnvLocalhostAddr());
|
||||
|
||||
@@ -122,9 +119,7 @@ addGrpcConfigWithSecureGateway(
|
||||
}
|
||||
|
||||
std::unique_ptr<Config>
|
||||
makeConfig(
|
||||
std::map<std::string, std::string> extraTxQ,
|
||||
std::map<std::string, std::string> extraVoting)
|
||||
makeConfig(std::map<std::string, std::string> extraTxQ, std::map<std::string, std::string> extraVoting)
|
||||
{
|
||||
auto p = test::jtx::envconfig();
|
||||
auto& section = p->section("transaction_queue");
|
||||
|
||||
Reference in New Issue
Block a user