From 63a2492cc960327349be187fd6aa1d4aacbf30b3 Mon Sep 17 00:00:00 2001 From: jholdstock Date: Mon, 9 Sep 2024 09:09:47 +0100 Subject: [PATCH] config: Remove old ticket buyer conf warning. Ticket buyer options were moved to the main config file 8 years ago by 32b6ca9528b202059e81bcd6b6c527acce7c5270, it's reasonable to assume this warning is no longer necessary. --- config.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/config.go b/config.go index cf75a1344..c1ad7b3e0 100644 --- a/config.go +++ b/config.go @@ -1077,16 +1077,6 @@ func loadConfig(ctx context.Context) (*config, []string, error) { return loadConfigError(err) } - // Warn if user still has an old ticket buyer configuration file. - oldTBConfigFile := filepath.Join(cfg.AppDataDir.Value, "ticketbuyer.conf") - if _, err := os.Stat(oldTBConfigFile); err == nil { - log.Warnf("%s is no longer used and should be removed. "+ - "Please prepend 'ticketbuyer.' to each option and "+ - "move it under the [Ticket Buyer Options] section "+ - "of %s\n", - oldTBConfigFile, configFilePath) - } - // Make list of old versions of testnet directories. var oldTestNets []string oldTestNets = append(oldTestNets, filepath.Join(cfg.AppDataDir.Value, "testnet"))