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

Function on_openchannel2

tests/plugins/openchannel_hook_accept.py:20–23  ·  view source on GitHub ↗
(openchannel2, plugin, **kwargs)

Source from the content-addressed store, hash-verified

18
19@plugin.hook('openchannel2')
20def on_openchannel2(openchannel2, plugin, **kwargs):
21 msg = "accept on principle"
22 plugin.log(msg)
23 return {'result': 'continue'}
24
25
26plugin.run()

Callers

nothing calls this directly

Calls 1

logMethod · 0.80

Tested by

no test coverage detected