mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-28 15:58:07 +00:00
Restore these three helpers (dropped in the previous commit as apparently unused) and use them at the 10 existing preflight call sites that were manually duplicating the exact same size/bounds logic: NFTokenCancelOffer, CredentialCreate/Accept/Delete, OracleSet, DelegateSet, Batch, AMMBid, TicketCreate, and SignerListSet. Each swap is a pure De Morgan's-law rewrite of the existing condition, so preflight's accept/reject decision is unchanged. checkMax remains removed - no call site anywhere matches its shape.