lsps0: set cln feature bit

This commit is contained in:
Jesse de Wit
2023-08-14 09:30:07 +02:00
parent 06dfa7c334
commit 1e382e0a08

View File

@@ -25,6 +25,7 @@ const (
var (
DefaultSubscriberTimeout = "1m"
DefaultChannelAcceptorScript = ""
LspsFeatureBit = "0200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
)
const (
@@ -299,7 +300,7 @@ func (c *ClnPlugin) handleGetManifest(request *Request) {
Description: "Set the startlark channel acceptor script",
},
},
Dynamic: true,
Dynamic: false,
Hooks: []Hook{
{Name: "custommsg"},
{Name: "htlc_accepted"},
@@ -310,6 +311,9 @@ func (c *ClnPlugin) handleGetManifest(request *Request) {
Subscriptions: []string{
"shutdown",
},
FeatureBits: &FeatureBits{
Node: &LspsFeatureBit,
},
},
})
}