From 66b5574f4c53bca8d819f376adec42abfb46b904 Mon Sep 17 00:00:00 2001 From: esneider Date: Fri, 5 Jul 2019 19:40:04 -0300 Subject: [PATCH] Fix typo in doc --- lnwallet/reservation.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnwallet/reservation.go b/lnwallet/reservation.go index 287eead83..55aa69ba1 100644 --- a/lnwallet/reservation.go +++ b/lnwallet/reservation.go @@ -286,8 +286,8 @@ func (r *ChannelReservation) CommitConstraints(c *channeldb.ChannelConstraints) return ErrCsvDelayTooLarge(c.CsvDelay, maxDelay) } - // The dust limit should always be greater or equal to the channel - // reserve. The reservation request should be denied if otherwise. + // The channel reserve should always be greater or equal to the dust + // limit. The reservation request should be denied if otherwise. if c.DustLimit > c.ChanReserve { return ErrChanReserveTooSmall(c.ChanReserve, c.DustLimit) }