XRPLF / xrpl4j

A 100% Java implementation to interact with the XRP Ledger.
ISC License
80 stars 45 forks source link

LedgerResult Deserialization: Malformed Memos field #515

Open nkramer44 opened 6 months ago

nkramer44 commented 6 months ago

Prior to https://github.com/XRPLF/rippled/commit/a5297d13c4f6a2ffb643e697d9ff1fcda385b932, rippled did not validate the format of the Memos field in transactions. There are one transaction in ledger 7266368 that has a malformed Memos field that looks like this:

"Memos": [
    {
        "TransactionMetaData": {}
    }
]

This ticket may not be worth fixing, as it will require changes to Transaction that will be hard to make without breaking the API, and any fix would only apply to one transaction in a very old ledger.