You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
292 B

#!/usr/bin/env python3
from pyln.client import Plugin
plugin = Plugin()
@plugin.init()
def init(options, configuration, plugin):
plugin.feature_set = configuration['feature_set']
@plugin.method('getfeatureset')
def getfeatureset(plugin):
return plugin.feature_set
plugin.run()