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

Function on_htlc_accepted

tests/plugins/shortcircuit.py:9–10  ·  view source on GitHub ↗
(onion, htlc, plugin, **kwargs)

Source from the content-addressed store, hash-verified

7
8@plugin.hook("htlc_accepted")
9def on_htlc_accepted(onion, htlc, plugin, **kwargs):
10 return {"result": "resolve", "payment_key": "00" * 32}
11
12
13plugin.run()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected