mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 15:10:34 +00:00
fix clang-tidy (hopefully)
This commit is contained in:
@@ -237,6 +237,7 @@ adjustOwnerCountSigned(
|
||||
XRPL_ASSERT(validSponsorType, "xrpl::adjustOwnerCountSigned : valid sponsor sle type");
|
||||
if (!validSponsorType)
|
||||
return; // LCOV_EXCL_LINE
|
||||
// NOLINTNEXTLINE(bugprone-unchecked-optional-access) - checked above
|
||||
auto const sponsorID = reserveCtx.sponsorID().value();
|
||||
|
||||
adjustOwnerCountImpl(
|
||||
|
||||
@@ -266,9 +266,9 @@ SponsorshipSet::doApply()
|
||||
return tecDIR_FULL; // LCOV_EXCL_LINE
|
||||
(*newSle)[sfSponseeNode] = *sponseePage;
|
||||
|
||||
// NOLINTNEXTLINE(readability-suspicious-call-argument)
|
||||
increaseOwnerCount(
|
||||
view(),
|
||||
// NOLINTNEXTLINE(readability-suspicious-call-argument)
|
||||
ReserveContext::makeFromAccount(view(), sponsorAccSle, reserveSponsorAccSle),
|
||||
1,
|
||||
ctx_.journal);
|
||||
|
||||
Reference in New Issue
Block a user