mirror of
https://github.com/aljazceru/lspd.git
synced 2026-02-07 15:24:30 +01:00
lsps0: set cln feature bit
This commit is contained in:
@@ -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,
|
||||
},
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user