Open sublimator opened 1 year ago
Maybe it was supposed to be:
if ((ledger->seq() > seq) && ((ledger->seq() - seq) < 25600))
I see before the variable seq
was used for the passed in ledger' sequence, but now seq
is the last sequence (which before was mSeq) so maybe there was some copy/paste issues?
Thanks @sublimator. After a quick look this does look like a bug to me. Let me take a closer look now.
@sublimator There's a PR for this here: https://github.com/XRPLF/rippled/pull/4890
This part seems a bit confusing to me:
If bigger > smaller && (smaller - bigger) < 25600
The old logic: