Fix typo in doc

This commit is contained in:
esneider 2019-07-05 19:40:04 -03:00
parent a6e77811b1
commit 66b5574f4c

View File

@ -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)
}