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

Function on_htlc_accepted

tests/plugins/dep_a.py:12–15  ·  view source on GitHub ↗
(htlc, plugin, **kwargs)

Source from the content-addressed store, hash-verified

10
11@plugin.hook('htlc_accepted', before=['dep_b.py'])
12def on_htlc_accepted(htlc, plugin, **kwargs):
13 time.sleep(1)
14 print("htlc_accepted called")
15 return {'result': 'continue'}
16
17
18plugin.run()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected