cfg: move experimental options to main protocol cfg

This commit is contained in:
Orbital
2024-05-14 08:40:05 -05:00
parent 9d358bc649
commit e8196c6feb
8 changed files with 135 additions and 61 deletions

View File

@@ -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.