Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/release-notes/release-notes-0.20.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@
channels scale proportionally using the standard 0.16 BTC threshold (matching
funding confirmation scaling).

* [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
Expand Down
4 changes: 2 additions & 2 deletions lnwallet/channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,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
Expand Down
Loading