From 568893535493de2d12d7688d92cfcd108b393010 Mon Sep 17 00:00:00 2001 From: Jared Tobin Date: Fri, 8 Aug 2025 15:35:47 -0230 Subject: [PATCH] server: don't mention aux stuff in error [skip ci] This error is returned when one attempts to use taproot overlay channels without the necessary auxiliary funding controller being supplied. In practice, when running lnd via litd, the latter will always supply 'tapd' as the aux funding controller, but a standalone lnd has no knowledge of that. The previous message sort of reads like the lnd user has forgotten to set some available option or flag, but nothing or the sort actually exists. The update makes it clearer that the feature isn't available in the standalone build. --- server.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server.go b/server.go index d79cc3547..f0a618a1b 100644 --- a/server.go +++ b/server.go @@ -634,8 +634,9 @@ func newServer(ctx context.Context, cfg *Config, listenAddrs []net.Addr, if cfg.ProtocolOptions.TaprootOverlayChans && implCfg.AuxFundingController.IsNone() { - return nil, fmt.Errorf("taproot overlay flag set, but not " + - "aux controllers") + return nil, fmt.Errorf("taproot overlay flag set, but " + + "overlay channels are not supported " + + "in a standalone lnd build") } //nolint:ll