multi: announce Keysend feature bit

In this commit, we add the keysend feature bit to our NodeAnnouncement
if the accept-keysend option is set.
This commit is contained in:
Elle Mouton committed 2022-04-14 14:01:19 +02:00
1 parent d397e3e680
commit c54cc6e841
6 files changed
+32 -2

No files matched your search

+1
View File
@@ -529,6 +529,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
NoAnchors: cfg.ProtocolOptions.NoAnchorCommitments(),
NoWumbo: !cfg.ProtocolOptions.Wumbo(),
NoScriptEnforcementLease: cfg.ProtocolOptions.NoScriptEnforcementLease(),
NoKeysend: !cfg.AcceptKeySend,
})
if err != nil {
return nil, err