mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
8c181b6f4e
In this commit, we fix an existing bug that could result in a panic if we received a ChannelUpdate message with an unknown set of flags. If the flag wasn’t set to zero or one, then the pubKey parameter would be still nil when we attempted to validate it, causing an error to occur. We remedy this by instead returning an error if the flags are unknown. In a future commit, we will properly handle the set of flags that indicates the channel should be disabled. |
||
---|---|---|
.. | ||
ann_validation.go | ||
bootstrapper.go | ||
gossiper_test.go | ||
gossiper.go | ||
log.go | ||
utils.go |