diff --git a/src/ripple/app/misc/NetworkOPs.cpp b/src/ripple/app/misc/NetworkOPs.cpp index 5743600ce3b..ba6d13e41a2 100644 --- a/src/ripple/app/misc/NetworkOPs.cpp +++ b/src/ripple/app/misc/NetworkOPs.cpp @@ -2046,7 +2046,8 @@ NetworkOPsImp::pubServer() mulDiv( f.em->openLedgerFeeLevel, f.loadBaseServer, - f.em->referenceFeeLevel).value_or(std::numeric_limits::max())); + f.em->referenceFeeLevel) + .value_or(std::numeric_limits::max())); jvObj[jss::load_factor] = trunc32(loadFactor); jvObj[jss::load_factor_fee_escalation] = @@ -2476,10 +2477,12 @@ NetworkOPsImp::getServerInfo(bool human, bool admin, bool counters) /* Scale the escalated fee level to unitless "load factor". In practice, this just strips the units, but it will continue to work correctly if either base value ever changes. */ - auto const loadFactorFeeEscalation = mulDiv( - escalationMetrics.openLedgerFeeLevel, - loadBaseServer, - escalationMetrics.referenceFeeLevel).value_or(std::numeric_limits::max()); + auto const loadFactorFeeEscalation = + mulDiv( + escalationMetrics.openLedgerFeeLevel, + loadBaseServer, + escalationMetrics.referenceFeeLevel) + .value_or(std::numeric_limits::max()); auto const loadFactor = std::max( safe_cast(loadFactorServer), diff --git a/src/ripple/app/tx/impl/DeleteAccount.cpp b/src/ripple/app/tx/impl/DeleteAccount.cpp index 7e1a1dce2dd..74f502e19c4 100644 --- a/src/ripple/app/tx/impl/DeleteAccount.cpp +++ b/src/ripple/app/tx/impl/DeleteAccount.cpp @@ -63,8 +63,8 @@ DeleteAccount::calculateBaseFee(ReadView const& view, STTx const& tx) if (mulDivResult) return *mulDivResult; - // If mulDiv does not contain a value, then overflow happened. Punt by using the - // standard calculation. + // If mulDiv does not contain a value, then overflow happened. Punt by + // using the standard calculation. return Transactor::calculateBaseFee(view, tx); }