BoltzExchange / boltz-backend

Boltz Backend
https://boltz.exchange
GNU Affero General Public License v3.0
111 stars 44 forks source link

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

Open kilrau opened 2 days ago

kilrau commented 2 days ago

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.