Skip to content

accountTxPage skips the marker transaction instead of resuming after it (forward pagination) #719

@shortthefomo

Description

@shortthefomo

if (lookingForMarker)

accountTxPage skips the marker transaction instead of resuming after it (forward pagination)
In RWDBDatabase::accountTxPage forward path, when the marker is found (findLedger == ledgerSeq && findSeq == txnSeq), lookingForMarker is set to false but the current transaction (the marker itself) is NOT skipped — it falls through to be emitted. In pagination, the marker is the last transaction that was already returned in the previous page. The correct behavior is to skip the marker transaction and start returning results from the next one. This would cause the last transaction of the previous page to be duplicated as the first transaction of the next page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions