Merge pull request #6073 from mattbajorek/5518-clarify-invalid-config-timeout-constraints

netann: clarify invalid config timeout constraints [skip ci]
This commit is contained in:
Oliver Gugger 2021-12-10 12:52:29 +01:00 committed by GitHub
commit 2de8571ab3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -30,6 +30,8 @@
* [Add json flag to
trackpayment](https://github.com/lightningnetwork/lnd/pull/6060)
* [Clarify invalid config timeout
constraints](https://github.com/lightningnetwork/lnd/pull/6073)
* [Fix memory corruption in Mission Control
Store](https://github.com/lightningnetwork/lnd/pull/6068)

View file

@ -21,9 +21,9 @@ var (
// ErrInvalidTimeoutConstraints signals that the ChanStatusManager could
// not be initialized because the timeouts and sample intervals were
// malformed.
ErrInvalidTimeoutConstraints = errors.New("active_timeout + " +
"sample_interval must be less than or equal to " +
"inactive_timeout and be positive integers")
ErrInvalidTimeoutConstraints = errors.New("chan-enable-timeout + " +
"chan-status-sample-interval must <= chan-disable-timeout " +
"and all three chan configs must be positive integers")
// ErrEnableInactiveChan signals that a request to enable a channel
// could not be completed because the channel isn't actually active at