build: Append commit hash to the main LND context

It can be disabled via the new `logging.no-commit-hash` config option.
This commit is contained in:
Elle Mouton committed 2024-12-02 09:23:06 +02:00
1 parent efe08b836e
commit 755ad49440
5 files changed
+47 -6

No files matched your search

+1
View File
@@ -203,6 +203,7 @@ func (cfg *BaseNodeConfig) GenArgs() []string {
"--bitcoin.defaultchanconfs=1",
"--accept-keysend",
"--keep-failed-payment-attempts",
"--logging.no-commit-hash",
fmt.Sprintf("--db.batch-commit-interval=%v", commitInterval),
fmt.Sprintf("--bitcoin.defaultremotedelay=%v", DefaultCSV),
fmt.Sprintf("--rpclisten=%v", cfg.RPCAddr()),