mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-05 01:37:00 +00:00
fix clang-tidy issues
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user