Merge pull request #3274 from esneider/fix-typo-in-doc

Fix typo in doc
This commit is contained in:
Johan T. Halseth 2019-09-18 08:37:06 +02:00 committed by GitHub
commit 1a4ba97562
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -288,8 +288,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)
}