mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 02:25:53 +00:00
fix typo
This commit is contained in:
@@ -1923,7 +1923,7 @@ Transactor::operator()()
|
|||||||
uint32_t lgrCur = view().seq();
|
uint32_t lgrCur = view().seq();
|
||||||
|
|
||||||
bool const has240819 = view().rules().enabled(fix240819);
|
bool const has240819 = view().rules().enabled(fix240819);
|
||||||
bool const has240820 = view().rules().enabled(fix240911);
|
bool const has240911 = view().rules().enabled(fix240911);
|
||||||
|
|
||||||
auto const& sfRewardFields =
|
auto const& sfRewardFields =
|
||||||
*(ripple::SField::knownCodeToField.at(917511 - has240819));
|
*(ripple::SField::knownCodeToField.at(917511 - has240819));
|
||||||
@@ -1972,11 +1972,11 @@ Transactor::operator()()
|
|||||||
uint32_t lgrElapsed = lgrCur - lgrLast;
|
uint32_t lgrElapsed = lgrCur - lgrLast;
|
||||||
|
|
||||||
// overflow safety
|
// overflow safety
|
||||||
if (!has240820 &&
|
if (!has240911 &&
|
||||||
(lgrElapsed > lgrCur || lgrElapsed > lgrLast ||
|
(lgrElapsed > lgrCur || lgrElapsed > lgrLast ||
|
||||||
lgrElapsed == 0))
|
lgrElapsed == 0))
|
||||||
continue;
|
continue;
|
||||||
if (has240820 && (lgrElapsed > lgrCur || lgrElapsed == 0))
|
if (has240911 && (lgrElapsed > lgrCur || lgrElapsed == 0))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
uint64_t accum = sle->getFieldU64(sfRewardAccumulator);
|
uint64_t accum = sle->getFieldU64(sfRewardAccumulator);
|
||||||
|
|||||||
Reference in New Issue
Block a user