MCPcopy Create free account
hub / github.com/ElementsProject/lightning / on_openchannel

Function on_openchannel

tests/plugins/openchannel_hook_accept.py:13–16  ·  view source on GitHub ↗
(openchannel, plugin, **kwargs)

Source from the content-addressed store, hash-verified

11
12@plugin.hook('openchannel')
13def on_openchannel(openchannel, plugin, **kwargs):
14 msg = "accept on principle"
15 plugin.log(msg)
16 return {'result': 'continue'}
17
18
19@plugin.hook('openchannel2')

Callers

nothing calls this directly

Calls 1

logMethod · 0.80

Tested by

no test coverage detected