diff --git a/cln_plugin/cln_plugin.go b/cln_plugin/cln_plugin.go index 506a77ba..75002cae 100644 --- a/cln_plugin/cln_plugin.go +++ b/cln_plugin/cln_plugin.go @@ -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, + }, }, }) }