Pre-Submission Checklist
LND Version
lnd version 0.21.0-beta commit=v0.21.0-beta
LND Configuration
lnd.conf:
[protocol]
protocol.custom-message=513
protocol.custom-nodeann=39
protocol.custom-init=39
Backend Version
Bitcoin Knots daemon version v29.3.knots20260508
Backend Configuration
...
Tor settings
create a Tor hidden service, listenonion=1 is default
listenonion=1
proxy=127.0.0.1:9050
bind=127.0.0.1:8334=onion
OS/Distribution
Linux unode 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
Bug Details & Steps to Reproduce
The system crashes on startup with the message "unable to create server: feature bit: 39 already set" when lnd.conf has the following lines
protocol.custom-message=513
protocol.custom-nodeann=39
protocol.custom-init=39_
but works correctly if these lines are commented out
Expected Behavior
Should start correctly with the protocol lines in lnd.conf
Debug Information
No response
Environment
No response
Pre-Submission Checklist
LND Version
lnd version 0.21.0-beta commit=v0.21.0-beta
LND Configuration
lnd.conf:
[protocol]
protocol.custom-message=513
protocol.custom-nodeann=39
protocol.custom-init=39
Backend Version
Bitcoin Knots daemon version v29.3.knots20260508
Backend Configuration
...
Tor settings
create a Tor hidden service, listenonion=1 is default
listenonion=1
proxy=127.0.0.1:9050
bind=127.0.0.1:8334=onion
OS/Distribution
Linux unode 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
Bug Details & Steps to Reproduce
The system crashes on startup with the message "unable to create server: feature bit: 39 already set" when lnd.conf has the following lines
protocol.custom-message=513
protocol.custom-nodeann=39
protocol.custom-init=39_
but works correctly if these lines are commented out
Expected Behavior
Should start correctly with the protocol lines in lnd.conf
Debug Information
No response
Environment
No response