Skip to content

Commit

Permalink
lsps0: set cln feature bit
Browse files Browse the repository at this point in the history
  • Loading branch information
JssDWt committed Aug 14, 2023
1 parent 4fc173c commit a6f2e33
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cln_plugin/cln_plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const (
var (
DefaultSubscriberTimeout = "1m"
DefaultChannelAcceptorScript = ""
LspsFeatureBit = "0200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
)

const (
Expand Down Expand Up @@ -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"},
Expand All @@ -310,6 +311,9 @@ func (c *ClnPlugin) handleGetManifest(request *Request) {
Subscriptions: []string{
"shutdown",
},
FeatureBits: &FeatureBits{
Node: &LspsFeatureBit,
},
},
})
}
Expand Down

0 comments on commit a6f2e33

Please sign in to comment.