mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-21 20:25:52 +00:00
Fix wrong assert (#1003)
This commit is contained in:
@@ -39,7 +39,7 @@ ETLService::runETLPipeline(uint32_t startSequence, uint32_t numExtractors)
|
|||||||
auto const rng = backend_->hardFetchLedgerRangeNoThrow();
|
auto const rng = backend_->hardFetchLedgerRangeNoThrow();
|
||||||
ASSERT(rng.has_value(), "Parent ledger range can't be null");
|
ASSERT(rng.has_value(), "Parent ledger range can't be null");
|
||||||
ASSERT(
|
ASSERT(
|
||||||
rng->maxSequence < startSequence - 1,
|
rng->maxSequence >= startSequence - 1,
|
||||||
"Got not parent ledger. rnd->maxSequence = {}, startSequence = {}",
|
"Got not parent ledger. rnd->maxSequence = {}, startSequence = {}",
|
||||||
rng->maxSequence,
|
rng->maxSequence,
|
||||||
startSequence
|
startSequence
|
||||||
|
|||||||
Reference in New Issue
Block a user