fix build

This commit is contained in:
Mayukha Vadari
2026-06-25 23:23:57 -05:00
parent 2ed9a69cb9
commit 2185a1e30f

View File

@@ -279,9 +279,6 @@ OracleSet::doApply()
auto const newCount = calculateOracleReserve(pairs.size());
int32_t const adjust = newCount - oldCount;
if (adjust != 0 && !adjustOwnerCount(ctx_, adjust))
return tefINTERNAL; // LCOV_EXCL_LINE
if (ctx_.view().rules().enabled(featureSponsor))
{
auto const delta = (getLedgerEntryReserveSponsorAccountID(sle) ==
@@ -301,6 +298,9 @@ OracleSet::doApply()
return ret;
}
if (adjust != 0 && !adjustOwnerCount(ctx_, adjust))
return tefINTERNAL; // LCOV_EXCL_LINE
ctx_.view().update(sle);
}
else