fix clang-tidy issues

This commit is contained in:
Mayukha Vadari
2026-05-27 16:59:55 -04:00
parent 1ac402f9f9
commit c14fdd73b9
2 changed files with 2 additions and 1 deletions

View File

@@ -308,7 +308,7 @@ applyCreate(ApplyContext& ctx, Sandbox& sb, AccountID const& creatorAccountID, b
[&](MPTIssue const& issue) -> TER {
auto const& mptIssue = issue;
auto const& mptID = mptIssue.getMptID();
std::uint32_t flags = lsfMPTAMM | lsfMPTAuthorized;
std::uint32_t const flags = lsfMPTAMM | lsfMPTAuthorized;
if (auto const err =
requireAuth(ctx.view(), mptIssue, ammAccountID, AuthType::WeakAuth);
!isTesSuccess(err))

View File

@@ -7,6 +7,7 @@
#include <xrpl/core/ServiceRegistry.h>
#include <xrpl/ledger/Sandbox.h>
#include <xrpl/ledger/helpers/AMMHelpers.h>
#include <xrpl/ledger/helpers/AccountRootHelpers.h>
#include <xrpl/ledger/helpers/MPTokenHelpers.h>
#include <xrpl/ledger/helpers/RippleStateHelpers.h>
#include <xrpl/ledger/helpers/TokenHelpers.h>