mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-07 03:06:01 +02:00
cfg: move experimental options to main protocol cfg
This commit is contained in:
@@ -1667,8 +1667,7 @@ func ValidateConfig(cfg Config, interceptor signal.Interceptor, fileParser,
|
||||
|
||||
// If the experimental protocol options specify any protocol messages
|
||||
// that we want to handle as custom messages, set them now.
|
||||
//nolint:lll
|
||||
customMsg := cfg.ProtocolOptions.ExperimentalProtocol.CustomMessageOverrides()
|
||||
customMsg := cfg.ProtocolOptions.CustomMessageOverrides()
|
||||
|
||||
// We can safely set our custom override values during startup because
|
||||
// startup is blocked on config parsing.
|
||||
|
Reference in New Issue
Block a user