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

Function on_htlc_accepted

tests/plugins/endlesswaitblockheight.py:15–19  ·  view source on GitHub ↗
(onion, htlc, **kwargs)

Source from the content-addressed store, hash-verified

13
14@plugin.hook('htlc_accepted')
15def on_htlc_accepted(onion, htlc, **kwargs):
16 return {
17 'result': "fail",
18 "failure_message": "400f00000000000000007fffffff", # Bogus error with INT32_MAX as blockheight
19 }
20
21
22plugin.run()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected