boltz-backend icon indicating copy to clipboard operation
boltz-backend copied to clipboard

Don't return `failureDetails` for `invoice could not be paid` error

Open kilrau opened this issue 5 months ago • 0 comments

Example:

{
  "status": "invoice.failedToPay",
  "failureReason": "invoice could not be paid",
  "failureDetails": {
    "actual": 3925137,
    "expected": 3925134
  }
}

This is misleading as one could think the swap failed due to the slight overpayment.

kilrau avatar Oct 02 '24 10:10 kilrau