Merge pull request #6149 from bhandras/graph_import_rpc

lnd: add `devrpc` sub server and `devrpc.ImportGraph` to import graph dumps
This commit is contained in:
Oliver Gugger authored and GitHub committed 2022-01-28 10:24:59 +01:00
commit b77c1fb200
28 files changed
+1403 -70

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)
}