Infrastructure595 words3 min decode

XRP Ledger Patch Fixes Bug That Silently Deletes Trading Orders

A rippled patch widens offer removal on tec failures, fixing a bug that deleted XRPL DEX orders even when the triggering transaction failed. Plain XRP payments are unaffected.

XRP Ledger Bug That Makes Trading Orders Disappear Is Addressed
WitnessXRP Ledger Bug That Makes Trading Orders Disappear Is Addressedsergeitokmakov / pixabay

Outputs

  1. The fix makes rippled remove offers marked for deletion on any tec failure, extending coverage from only certain error codes.

  2. The bug deleted offers even when the triggering transaction failed, e.g. after a Flow temporarily unfunded an offer.

  3. The change targets XRPL DEX traders using complex, routed, fill-or-kill or self-cross orders.

  4. XRP traded near $0.92 on November 25 after briefly hitting $1.026 on November 23.

A fix to the XRP Ledger's core rippled software addresses a bug that could remove a trader's standing offer from the order book even when the transaction that triggered the removal failed, according to the technical note describing the change.

The defect played out in two scenarios. In the first, a trader's existing offer could be deleted before they managed to place a replacement — for example, when they lacked sufficient reserve to add a new offer. The gap between deletion and replacement left the trader with no active order and no way to keep their position in the book.

The second scenario is more intricate. A multi-step Flow could temporarily leave an offer unfunded, with the owner's funds restored only if a later step in the Flow failed. The result was the same: the offer got removed even though the triggering transaction ultimately failed and nothing was actually settled.

How does the fix work?

The change makes rippled attempt to remove offers that were marked for removal on any "tec" failure, every time such a failure occurs. That is a widening of the previous behavior. Before, the software attempted this removal only for certain tec error codes, not others, and applied extra restrictions around Flow-related offer removals. Under the old logic, an offer would only be flagged for removal if the owner's balance had not changed in any relevant way during the course of the Flow — a condition that left loopholes.

The patch also cleans up the handling of older orders. Offers that have already expired can still be removed, but offers owned by the transactor itself will be skipped. The note describes this as a best-effort mechanism to keep offers consistently added and removed from the order book, with the aim of cutting down on confusing trade results.

Who is affected?

The scope is narrow but pointed. The change mostly affects traders on decentralized exchanges built on XRPL, and particularly those running complex or routed orders, fill-or-kill instructions, or self-crosses — the exact cohorts most exposed to the edge cases the bug exploited.

Plain payments and balances don't move. Sends of XRP between regular accounts, and XRP balances generally, are unaffected. There are no proposed API changes, so integrators and tooling builders face no migration work from this release.

Nor does the patch touch the ledger's monetary or throughput fundamentals. It does not change XRP supply, fees, or transaction capacity, and the note judges it unlikely to have any effect on overall XRPL usage or XRP's market price — beyond the plausible side effect of making XRPL trading more appealing to market participants who previously hit the disappearing-order behavior.

What about the price context?

The bug fix arrives against a soft market backdrop. On November 23, XRP briefly touched $1.026 before falling back below $1, and by November 25 it was trading near $0.92. Reports attribute the pressure to broad crypto selling and ETF outflows rather than anything XRPL-specific. The note is blunt on this point: this software change would not be a catalyst for a price recovery.

For DEX operators and algorithmic traders on XRPL, the practical takeaway is operational. Order-book state should now track transaction outcomes more faithfully, and the class of trades that previously produced silent, unexplained order loss — routed fills, self-crosses, reserve-constrained replacements — should behave predictably. Traders running bots against XRPL order books will want to verify their logic against the new removal rules as the updated rippled code rolls out.

via cryptonews.net (Source)

More from Daniel Okafor

Daniel Okafor

Show full bio

Correspondent covering people, launches and day-to-day practice in crypto and web3 industry at Mempool Brief.

1,905 articles