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

Function on_openchannel

tests/plugins/openchannel_hook_accepter.py:54–55  ·  view source on GitHub ↗
(openchannel, plugin, **kwargs)

Source from the content-addressed store, hash-verified

52
53@plugin.hook('openchannel')
54def on_openchannel(openchannel, plugin, **kwargs):
55 return run_openchannel(openchannel['funding_msat'], openchannel['channel_type'], plugin)
56
57
58@plugin.hook('openchannel2')

Callers

nothing calls this directly

Calls 1

run_openchannelFunction · 0.85

Tested by

no test coverage detected