lncfg: move ParseHexColor to lncfg

This commit is contained in:
Andras Banki-Horvath committed 2022-01-24 17:42:54 +01:00
1 parent 3829385073
commit 825422a82a
5 files changed
+79 -66

No files matched your search

+1 -1
View File
@@ -1596,7 +1596,7 @@ func ValidateConfig(cfg Config, interceptor signal.Interceptor, fileParser,
// Finally, ensure that the user's color is correctly formatted,
// otherwise the server will not be able to start after the unlocking
// the wallet.
_, err = parseHexColor(cfg.Color)
_, err = lncfg.ParseHexColor(cfg.Color)
if err != nil {
return nil, mkErr("unable to parse node color: %v", err)
}