mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-25 16:10:57 +00:00
fix build
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user