mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-08-12 04:03:21 +00:00
- Anchor the broad invalid/decode buckets to co-occur with "token" so internal faults (e.g. "Invalid isoformat string") fall through to 500 instead of masquerading as a 401 token error. - Map the "estimate fees"/"exceed token amount" wallet errors to the specific "too small to cover swap fees" message instead of the generic bucket. - Stop the X-Cashu redemption path from interpolating raw mint/exception text into mint_error/cashu_error responses (both duplicated blocks). - Add tests for the fee-gap mapping and the anchored gate.