This commit is contained in:
Euler 2026-08-13 04:06:03 +02:00 committed by GitHub
commit 63cf4e272e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View file

@ -106,6 +106,12 @@
ensures dependencies are properly freed and logs the panic trace for
debugging.
* [Improved error message clarity](https://github.com/lightningnetwork/lnd/pull/10607)
when a transaction would cause a peer's balance to fall below the channel
reserve. The error message has been updated to be more user-friendly,
notifying that the transaction was rejected because the minimum safety
balance must be preserved.
## RPC Updates
* The `EstimateRouteFee` RPC now implements an [LSP detection

View file

@ -66,8 +66,8 @@ var (
// ErrBelowChanReserve is returned when a proposed HTLC would cause
// one of the peer's funds to dip below the channel reserve limit.
ErrBelowChanReserve = fmt.Errorf("commitment transaction dips peer " +
"below chan reserve")
ErrBelowChanReserve = fmt.Errorf("transaction rejected: " +
"peer must preserve its minimum safety balance")
// ErrBelowMinHTLC is returned when a proposed HTLC has a value that
// is below the minimum HTLC value constraint for either us or our