mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 00:36:48 +00:00
cleared more ref. to deleted functions
Signed-off-by: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com>
This commit is contained in:
@@ -133,7 +133,6 @@ template <typename PreflightChecks>
|
||||
ApplyResult
|
||||
apply(ServiceRegistry& registry, OpenView& view, PreflightChecks&& preflightChecks)
|
||||
{
|
||||
NumberSO const stNumberSO{view.rules().enabled(fixUniversalNumber)};
|
||||
return doApply(preclaim(preflightChecks(), registry, view), registry, view);
|
||||
}
|
||||
|
||||
|
||||
@@ -71,14 +71,10 @@ with_txn_type(Rules const& rules, TxType txnType, F&& f)
|
||||
//
|
||||
// See also Transactor::operator().
|
||||
//
|
||||
std::optional<NumberSO> stNumberSO;
|
||||
std::optional<CurrentTransactionRulesGuard> rulesGuard;
|
||||
std::optional<NumberMantissaScaleGuard> mantissaScaleGuard;
|
||||
if (rules.enabled(featureSingleAssetVault) || rules.enabled(featureLendingProtocol))
|
||||
{
|
||||
// raii classes for the current ledger rules.
|
||||
// fixUniversalNumber predates the rulesGuard and should be replaced.
|
||||
stNumberSO.emplace(rules.enabled(fixUniversalNumber));
|
||||
rulesGuard.emplace(rules);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user